Super User is a question and answer site for computer enthusiasts and power users. It's 100% free, no registration required.

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I am looking for a simple tool that will let me read the RGB and alpha (A) values of a pixel in an image.

Something like DigitalColor meter but that returns alpha values.

I know this is possible in photoshop but I am looking for a lightweight solution.

share|improve this question

Mac OS X has ImageMagick, right?

$ convert Downloads/photo.png -crop 1x1+9+96 txt:-
# ImageMagick pixel enumeration: 1,1,255,rgba
0,0: (  0, 74,117,251)  #004A75FB  rgba(0,74,117,0.984314)

The idea is to crop around a specific pixel, then output it to the special txt: format, with an output file name of - which is of course standard output.

You can leave out the the -crop 1x1+X+Y business to just get a listing of all pixels. Also note that you image must have an alpha channel for this to work, otherwise it just won't get included.

share|improve this answer
thanks but i am looking for a graphic tool. although this looks cool if you are scripting it would be cumbersome otherwise. something like an eyedropper tool would be ideal. – numan Apr 18 '12 at 21:19

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.