Want to win a PS4? Go Premium and enter to win our High-Tech Treats giveaway. Enter to Win

x
?
Solved

number of pixels

Posted on 2002-07-02
9
Medium Priority
?
300 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
Concerto's Cloud Advisory Services

Want to avoid the missteps to gaining all the benefits of the cloud? Learn more about the different assessment options from our Cloud Advisory team.

 

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

[Webinar] Lessons on Recovering from Petya

Skyport is working hard to help customers recover from recent attacks, like the Petya worm. This work has brought to light some important lessons. New malware attacks like this can take down your entire environment. Learn from others mistakes on how to prevent Petya like worms.

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.
Illustrator's Shape Builder tool will let you combine shapes visually and interactively. This video shows the Mac version, but the tool works the same way in Windows. To follow along with this video, you can draw your own shapes or download the file…
I designed this idea while studying technology in the classroom.  This is a semester long project.  Students are asked to take photographs on a specific topic which they find meaningful, it can be a place or situation such as travel or homelessness.…
Suggested Courses

636 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