I need to meter pixel on web page or on the screen. I used orange pixel meter is any other program similar to mater pixel on screen.
Asked
Active
Viewed 5,770 times
1
-
I don't understand the question. Please be more specific? – Robert Dec 08 '10 at 22:51
-
it seems that "orange pixel meter" is one of those screen pixel ruler programs; but which platform do you need one on? – Dan D. Dec 08 '10 at 22:57
-
What do you want to measure, exactly? Arbitrary points or DOM tree elements? If it's the latter, use Firebug. – mingos Dec 09 '10 at 17:54
2 Answers
0
Check this addon for Firefox/Chrome/Safari: http://www.kevinfreitas.net/extensions/measureit/

mingos
- 23,778
- 12
- 70
- 107
-
-
Bear in mind that my answer was posted *over three years ago*. Back then MeasureIt had no adware. As of Dec 8, 2010, my answer was perfectly valid. Instead of a downvote, I'd restrain myself to just leaving a comment an perhaps adding a note to the answer itself. I cannot be held responsible for what the developers of a given piece of software do with it in the future, you know. – mingos Dec 13 '13 at 10:56
-
You are correct, I did add a note now and will withdraw the down vote when the edit goes through (since I can't do it at the time unless the answer is edited) – Vexter Dec 14 '13 at 19:45
0
I can't really tell what you mean but if you want to get the RGB value of a pixel at a particular coordinate, you can use this python script:
#!/usr/bin/python -W ignore::DeprecationWarning
import sys
import gtk
def get_pixel_rgb(x, y):
pixbuf = gtk.gdk.Pixbuf(gtk.gdk.COLORSPACE_RGB, False, 8, 1, 1)
pixbuf.get_from_drawable(gtk.gdk.get_default_root_window(),
gtk.gdk.colormap_get_system(),
x, y, 0, 0, 1, 1)
return pixbuf.get_pixels_array()[0][0]
print get_pixel_rgb(int(sys.argv[1]), int(sys.argv[2]))