Exit
  • Global community
    • Language:
      • Deutsch
      • English
      • Español
      • Français
      • Português
  • 日本語コミュニティ
  • 한국 커뮤니티
0

UXP resize image

Explorer ,
Mar 11, 2021 Mar 11, 2021

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
1.4K
Translate
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

correct answers 1 Correct answer

LEGEND , Mar 11, 2021 Mar 11, 2021
Translate
Adobe
LEGEND ,
Mar 11, 2021 Mar 11, 2021
Translate
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

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

Translate
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
LEGEND ,
Mar 11, 2021 Mar 11, 2021
LATEST

There's a link to appropriate forum.

Translate
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