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

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

Views

837

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

correct answers 1 Correct answer

LEGEND , Mar 11, 2021 Mar 11, 2021

Votes

Translate

Translate
Adobe
LEGEND ,
Mar 11, 2021 Mar 11, 2021

Copy link to clipboard

Copied

Votes

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.

Votes

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

Copy link to clipboard

Copied

LATEST

There's a link to appropriate forum.

Votes

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