Results 1 to 2 of 2
Hello,
What I would like to do is pass an image file into a c program as an argument and then loop through it's pixels to see what color they ...
- 08-21-2008 #1Just Joined!
- Join Date
- Feb 2006
- Location
- Wisconsin
- Posts
- 2
Retrieve pixel color
Hello,
What I would like to do is pass an image file into a c program as an argument and then loop through it's pixels to see what color they are. Does someone know what the code is to get a pixel(specifically the pixels color) and what header/s would have to be included.
Thanks,
Chris.
- 08-21-2008 #2
Hello,
Image Magick is a nice library that helps you to do that for a lot of image formats. ImageMagick: Convert, Edit, and Compose Images


Reply With Quote