Image resize and scale

Hey,

is it possible to dynamically scale images on the short side to 1024 pixels?

I only found the Image Resizer with Absolute Image Size and it didn’t work that well.

Thank you

Hi @CyberCrimeFlo,

if I understood correctly, you have a bunch of images of different size and you want all their shortest side to be 1024 pixels long by scaling the whole image? I’d do that with flow variables and the Image Resizer, like so:


WF on the Hub

The top 4 nodes get the smallest image dimension and calculate the scaling factor. This factor is then put into the image resizers flow variable tab with “Relative Scaling Factor” to do its magic.

Hope that helps,
Best, Lukas

7 Likes

Hey @LukasS ,

Thank you very much

1 Like

This topic was automatically closed 7 days after the last reply. New replies are no longer allowed.