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

Get Image resolution by javascript Indesign

New Here ,
May 26, 2020 May 26, 2020

Copy link to clipboard

Copied

Hi everyone,

I hope all member doing well.
For a new project I would make an easy document with image + image name + result resolution (Dpi) by javascript (See attachment like example).

Unfortunally, I don't know how to find Result image resolution by javascript.

Thank you,

Sergio

TOPICS
Scripting

Views

608

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

Community Expert , May 26, 2020 May 26, 2020

With the image selected run the following code

alert(app.selection[0].effectivePpi)

 

-Manan

Votes

Translate

Translate
Community Expert ,
May 26, 2020 May 26, 2020

Copy link to clipboard

Copied

LATEST

With the image selected run the following code

alert(app.selection[0].effectivePpi)

 

-Manan

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