Solved

number of pixels

Posted on 2002-07-02
9
289 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
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!

 

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

Free Tool: Path Explorer

An intuitive utility to help find the CSS path to UI elements on a webpage. These paths are used frequently in a variety of front-end development and QA automation tasks.

One of a set of tools we're offering as a way of saying thank you for being a part of the community.

Question has a verified solution.

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

Introduction When sharing photos, especially via e-mail, the large resolution images that most cameras take today make for extremely large file sizes. The time required to upload these files to forums, send in e-mails, post to blogs or even placi…
Read about why website design really matters in today's demanding market.
In this tutorial viewers will learn how to create a vector texture to apply a non-rasterized texture to vector images, using Photoshop and Illustrator Open a textured image such as a scanned-in piece of cardboard in Photoshop: Convert the texture to…
In this Micro Tutorial viewers will learn how to remove an unwanted object using Photoshop’s feature known as content-aware fill.

688 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