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.
Copy link to clipboard
Copied
You have to look a little deeper:
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)
Copy link to clipboard
Copied
I think thats for verticalScale.
I am asking for 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,