?
Solved

number of pixels

Posted on 2002-07-02
9
Medium Priority
?
293 Views
Last Modified: 2012-05-04
Hi

How I can check number of pixels in selected
aria of an image?

Grigor1
0
Comment
Question by:grigor1
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
9 Comments
 
LVL 30

Expert Comment

by:weed
ID: 7125640
Make your selection, look at the dimensions of your selection in the info palette, multiply the width by the height...Thats it.
0
 
LVL 2

Expert Comment

by:zombeen
ID: 7126067
weed i dont think its going to be that straight-forward . this will only work if the selected area is a rectanle/square (lxb = area) . it surely wont work for random / circular shaped selections
0
 
LVL 30

Expert Comment

by:weed
ID: 7127175
Nope, it wont. And good luck..heh. I dont think it can be done. Photoshop certainly doesnt do it.
0
Independent Software Vendors: We Want Your Opinion

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

 

Expert Comment

by:khourykris
ID: 7127960
Photoshop does not count the pixels. I also needed to know how many pixels were in a given area and the only way to figure it out fast was using this formula.

(w x h) x 0.78601618162057722497282936843376 = number of pixels. (give or take a pixel or two)

KK
0
 
LVL 30

Expert Comment

by:weed
ID: 7127965
Time to read the guidelines on posting comments and answers khourykris. Especially when giving an answer that doesnt make sense.
0
 

Expert Comment

by:ComTech
ID: 7128119
Answer rejected.

Please read: http://www.experts-exchange.com/jsp/infoMemberAgreement.jsp 

Regards,

ComTech
Community Support Administrator  
Experts-Exchange  
0
 

Author Comment

by:grigor1
ID: 7130294
Found the answer, I think:

Fill selected aria with black,
everything else - white, then
Image > Histogram and when cursor in
the Histogram window,
Percentile show percent of the selected aria.

Grig.
0
 
LVL 17

Expert Comment

by:Lobo042399
ID: 11453693
No comment has been added to this question in more than 21 days, so it is now classified as abandoned.

I will leave the following recommendation for this question in the Cleanup topic area:

PAQ - Refund Points

Any objections should be posted here in the next 4 days. After that time, the question will be closed.

Lobo
EE Cleanup Volunteer
0
 

Accepted Solution

by:
modulo earned 0 total points
ID: 11480864
PAQed, with points refunded (100)

modulo
Community Support Moderator
0

Featured Post

Technology Partners: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

HOW TO CREATE A WEB 2.0 IMAGE WITH A REFLECTION I would like to start by saying I know Web 2.0 isn't a style. It is actually the practice of information sharing or  collaboration on the Web. It is also associated with the technology that is used …
This article outlines the struggles that Macs encounter in Windows-dominated workplace environments – and what Mac users can do to improve their network connectivity and remain productive.
In this tutorial viewers will learn how to create a postcard text effect in Photoshop and get an introduction to Layer masks Use magic wand to select the "inner" part of the letters: Create a new layer and fill the selected area with black: Go back …
This tutorial will teach you the special effect of super speed similar to the fictional character Wally West aka "The Flash" After Shake : http://www.videocopilot.net/presets/after_shake/ All lightning effects with instructions : http://www.mediaf…
Suggested Courses
Course of the Month13 days, 10 hours left to enroll

801 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question