What's new
Photoshop Gurus Forum

Welcome to Photoshop Gurus forum. Register a free account today to become a member! It's completely free. Once signed in, you'll enjoy an ad-free experience and be able to participate on this site by adding your own topics and posts, as well as connect with other members through your own private inbox!

Reply to thread

Well the resolution of the image has no bearing on Measurement calculations, its all based on the pixels in the image, which is why I wouldn't think you'd want the image resampling but may want the resolution changing so it prints at the correct size.


You didn't answer my question so I'll assume this is the case.... just add this to the bottom of your script....it will change the resolution to 72ppi regardless.


[code]

function cTID(s) { return app.charIDToTypeID(s); };

function sTID(s) { return app.stringIDToTypeID(s); };


var desc1 = new ActionDescriptor();

desc1.putUnitDouble( cTID('Rslt'), cTID('#Rsl'), 72.000000 );

executeAction( cTID('ImgS'), desc1, DialogModes.NO );

[/code]


Regards.

MrToM.


What is our favorite program/app? (Hint - it begins and ends with the letter P)
Back
Top