Skip to main content
Timothy Bennett
Inspiring
March 11, 2021
Answered

UXP resize image

  • March 11, 2021
  • 1 reply
  • 1454 views

Hiya,

I'm finally dipping my toe into UXP after lots of CEP experience and I've quickly come up against something that I'm hoping someone can shed some light on.

 

In ExtendScript I could pass null to a resizeImage method for one of the pixel dimensions and resize an image proportionally. I can't seem to do the same in UXP, it seems that now both dimensions need to be explicitly stated in pixels.

Am I missing something?

 

 

This topic has been closed for replies.

1 reply

Kukurykus
KukurykusCorrect answer
Legend
March 11, 2021
Timothy Bennett
Inspiring
March 11, 2021

Sorry, I'm without any context, it's not clear as to what you are trying to show me with that link.

Kukurykus
Legend
March 11, 2021

There's a link to appropriate forum.