I’m loading several images inside a frame, but the images will have different aspect ratios. My goal is to load all images so that the width or height does not exceed the frame.
The ‘difficult’ part is to maintain the aspect ratio of the image.
Does anyone have a script I can work with? I’m not aware of any _scale function that scales both the height and width of an image (so the aspect ratio is maintained), something like that would be usefull!
Thanks in advance.