UXP resize image

Explorer ,
Mar 11, 2021 Mar 11, 2021

Copy link to clipboard

Copied

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?

 

 

TOPICS
Actions and scripting, Problem or error

Views

98

Likes

translate

Translate

Translate

Report

Report
Community Guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Adobe Community Professional ,
Mar 11, 2021 Mar 11, 2021

Copy link to clipboard

Copied

Likes

translate

Translate

Translate

Report

Report
Community Guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Explorer ,
Mar 11, 2021 Mar 11, 2021

Copy link to clipboard

Copied

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

Likes

translate

Translate

Translate

Report

Report
Community Guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Adobe Community Professional ,
Mar 11, 2021 Mar 11, 2021

Copy link to clipboard

Copied

There's a link to appropriate forum.

Likes

translate

Translate

Translate

Report

Report
Community Guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines