Highlighted

Get Image resolution by javascript Indesign

New Here ,
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

Adobe Community Professional
Correct answer by Manan Joshi | Adobe Community Professional

With the image selected run the following code

alert(app.selection[0].effectivePpi)

 

-Manan

TOPICS
Scripting

Views

230

Likes

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

Get Image resolution by javascript Indesign

New Here ,
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

Adobe Community Professional
Correct answer by Manan Joshi | Adobe Community Professional

With the image selected run the following code

alert(app.selection[0].effectivePpi)

 

-Manan

TOPICS
Scripting

Views

231

Likes

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
May 26, 2020 0
Adobe Community Professional ,
May 26, 2020

Copy link to clipboard

Copied

With the image selected run the following code

alert(app.selection[0].effectivePpi)

 

-Manan

Likes

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
Reply
Loading...
May 26, 2020 1