ar-cutpaste icon indicating copy to clipboard operation
ar-cutpaste copied to clipboard

Automatically get document width and height

Open xraymemory opened this issue 4 years ago • 2 comments

This will automatically get the activeDocument width and height from within the Photoshop script, so you no longer need to manually adjust it in the ps.py file

I found that using the actual provided DPI from activeDocument.resolution did not work so for now I kept the density at 2 (Not sure how that number was derived to begin with). So these numbers may have to be tweaked a bit or set to be configured (rather than just hardcoded), but this worked very well on my setup at any arbitrary width, height, and resolution. Can snap and drop into new files with no changes or adjustments needed

ardemogifreal

xraymemory avatar May 04 '20 20:05 xraymemory

Amazing, thanks a lot! Will review & try ASAP

cyrildiagne avatar May 05 '20 09:05 cyrildiagne

How can i get this app/code whatever? I like this so much. Please tell me how can i get this.

ehtisham99 avatar May 13 '20 04:05 ehtisham99