Auto png image resize to specified height/width

T68

Member
Hi!
Sorry if this has been asked and solved in a thread already. If so, please point me there.
Anyway: I am setting up a simple scoreboard where I want to display team logos. To make it simpleI would like to replace the logo files in the same folder and just rename them to home.png and away.png when I run the next game. Then use an image source in OBS to fetch them. The problem is that when I replace with logos of other sizes they are not scaled up/down to the size I want them to show.
I of course manually can resize them every time but it would be really nize to be able to specify a fixed height (or width) in the image source and then the image is scaled to this size when it is fetched by the program. I hope there may be a solution ready for this that I have missed. If not I hope it can be included in future updates. Thanks in advance for any input!
 

WBE

Member
So you bring images with different dimensions and you want OBS Studio to do the resizing. Of course you can post it as an enhancement request at ideas.obsproject.com But be aware that it might not be appreciated much, since OBS is not image manipulation software and there is plenty open source software available for that. Even Microsoft Paint can do this basic editing.

Is this a kind of a fixed competition? Then you know at the start of the season which teams participate, so it'll take you half an hour to resize all logos (and probably much less once you've got the hang to it).

Currently before every match you have to delete the old home.png and away.png and copy two new files in? Or renaming home.png back to AmsterdamAdmirals.png to save it for later use?
I would suggest to just select other files at the Image Sources in OBS. So you have a folder with AmsterdamAdmirals.png, BankokBraves.png, CanberraCardinals, ParisPirates.png, RigaRangers.png, etc. And then you easily pick the new one.
Image properties Amsterdam_Admirals_Logo.png

Source logo: https://en.wikipedia.org/w/index.php?curid=27767039
 

FerretBomb

Active Member
You can already do this with OBS as-is.
Right-click on the Source in question.
Go to Transform->Edit Transform.
Set up the Bounding Box, with the right size, anchor, location, and scaling method.
(Optional) right-click the source, go to Scale Filtering, and choose something other than 'none'. I usually go with Bicubic.

Now just change the content of the source in Properties, and it should automatically stay in the same spot, and rescale to fit.
 

T68

Member
You can already do this with OBS as-is.
Right-click on the Source in question.
Go to Transform->Edit Transform.
Set up the Bounding Box, with the right size, anchor, location, and scaling method.
(Optional) right-click the source, go to Scale Filtering, and choose something other than 'none'. I usually go with Bicubic.

Now just change the content of the source in Properties, and it should automatically stay in the same spot, and rescale to fit.

Thanks Ferretbomb! This was exactly what I was looking for. Feel a bit stupid I could not figure it out myself :-)
 
Top