Skip to main content
Tomas Sinkunas
Legend
September 15, 2014
Answered

Resize image in UI

  • September 15, 2014
  • 1 reply
  • 665 views

I was under impression, that setting image.size = [X, Y] will scale image to XY dimensions. But it turns out that it is cropped to that X/Y dimension. Why is this happening? Any way to resize image and not crop it?

Thank you.

This topic has been closed for replies.
Correct answer UQg

There is a method described in Peter Kahrel's pdf (scriptui-2-2.pdf), in the resizing image paragraph.

hopefully it also works in AE CC.

Xavier.

1 reply

UQg
UQgCorrect answer
Legend
September 15, 2014

There is a method described in Peter Kahrel's pdf (scriptui-2-2.pdf), in the resizing image paragraph.

hopefully it also works in AE CC.

Xavier.

Tomas Sinkunas
Legend
September 16, 2014

Oh damn, I have this PDF but didn't see that Image Resize function in there. Blind me.

Thanks Xavier for pointing this out to me. Appreciate your help.