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

No it doesn't, you can not calculate an area unless you incorporate the resolution of your document. 300PPI = 1 Inch 200PPI = 1inch etc. assuming pixels/inch.

Also, S=linear  pixel/cm

When you go to view - image size does the resolution show pixels/inch or pixels/cm

 

Also the selection no matter how its made should be the total pixels selected.

Should be the same for all channels.

[code]

var cnt =0;

histogram = activeDocument.channels["Red"].histogram;

for (i = 0; i <= 255; i++) {

 cnt += histogram[i];

}

alert(cnt);

[/code]

Should be the same as what is shown in the histogram.


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