3 Replies Latest reply on Sep 1, 2017 12:31 PM by mauricior6328708

    Check and change document width and resolution.

    mauricior6328708 Level 1

      Hello, greetings to all!

      How to check if a document has the width 21.5 cm in a resolution 200?

      If the document has these values all ok, if not, please change.

      It would be something like this:

      var doc = activeDocument  
          doc.resizeImage (undefined, undefined, 200, )}  


      This script alters the resolution however and I need it to change the value of the width "if it does not match" and thus proportionally change width and height at a 200 resolution.