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

ExportOptionsJPEG.horizontalScale max value?

Explorer ,
Apr 24, 2024 Apr 24, 2024

Copy link to clipboard

Copied

Hi,

How can I find the maximum value that we could supply on horizontalScale?

I checked with Adobe scripting guide but there is no definite answer.

https://ai-scripting.docsforadobe.dev/jsobjref/ExportOptionsJPEG.html

 

I tried inputing horizontalScale=300, it's working fine but when I input 800 then I an error message will appear:

Error 1239: Specified value greater than maximum allowed value

 

Thanks in advance.

TOPICS
Scripting

Views

123

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 Expert ,
Apr 24, 2024 Apr 24, 2024

Copy link to clipboard

Copied

 

Hi @maria hannad92609693

You have to look a little deeper:

https://ai-scripting.docsforadobe.dev/jsobjref/ExportOptionsJPEG.html?highlight=exportoptionsjpeg#ex...

ExportOptionsJPEG.verticalScale

exportOptionsJPEG.verticalScale

Description

The vertical scaling factor to apply to the exported image. Range: 0.0 to 776.19. Default: 100.0.

Type

Number (double)

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 ,
Apr 29, 2024 Apr 29, 2024

Copy link to clipboard

Copied

LATEST

Hi @pixxxelschubser 

I think thats for verticalScale.

I am asking for horizontalScale

ExportOptionsJPEG.horizontalScale

exportOptionsJPEG.horizontalScale

Description

The horizontal scaling factor to apply to the exported image, where 100.0 is 100%. Default: 100.0.

There is no max value specified in the documentation, or is it the same with verticalScale which has 776.19 as max value?

Thanks,

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