I am makeing a pixel colorsample on a particular point in a document. The problem is when the picture demesions change the point where I am selecting from changes. I was wondering if anyone has an idea to handle the different sizes. Thanks.
Calulate the spot using percent.
So I figured what my current measurements percentage was and included it in my calculations for my point. Thank you for your help.
This is what I used.
var w = app.activeDocument.width.as( 'px' );
var h = app.activeDocument.height.as( 'px' );