--- krome152001 wrote: > i want to detect a color (like a red) in a image
Is image external file? In which format? JPG, BMP, PNG, GIF, TIFF? > does the image have to be in the folder as the > program??? I don't know, you tell me. > or how can you detect the color using irfanview cause we > having a hard time making it work? or can i load it up using C++?? Perhaps you could tell us what IDE/compiler are you using and on which operating system. There is no built in support for images in C++, but there are various libraries that allow you to load images and inspect them (SDL for example). Or, you can load the image file, parse its format and find the color (I remember writing a BMP loader myself some 6-7 years ago when I was learning C). -- Milan Babuskov http://www.guacosoft.com
