Name: Anonymous 2010-09-28 17:45
hey, I'm looking for some commands or sample codes that can help me sample the color of a specific part of an image using c++
something like
#include Liberary stuff.
{
getpixel ( location, store, format type)
}
release crap
and it would store the color of the pixel at location "location" and store it under "store" in the format specified (eg. RGB)
any suggestions how to do this that would actually work?
(in short make a program that acts like a syringe tool would work in a art program)
something like
#include Liberary stuff.
{
getpixel ( location, store, format type)
}
release crap
and it would store the color of the pixel at location "location" and store it under "store" in the format specified (eg. RGB)
any suggestions how to do this that would actually work?
(in short make a program that acts like a syringe tool would work in a art program)