Paul on 11 Dec 2003 01:01:03 -0500


[Date Prev] [Date Next] [Thread Prev] [Thread Next] [Date Index] [Thread Index]

Re: [PLUG] pixels


sean finney wrote:

try converting it to a ppm file with something like imagemagick, and
then reading in data, which is pretty easy to parse from a c program
(it's just a header + pixels as rgb(a?) chars). i actually have some code
that reads a ppm file and returns an array of r,g,b pixels floating around
somewhere. if you'd find it helpful, feel free to contact me off list.



One less automated way would be to use the color picker in The GIMP. It shows RGB values in hex.


___________________________________________________________________________
Philadelphia Linux Users Group         --        http://www.phillylinux.org
Announcements - http://lists.phillylinux.org/mailman/listinfo/plug-announce
General Discussion  --   http://lists.phillylinux.org/mailman/listinfo/plug