--- comp knight <[EMAIL PROTECTED]> wrote:
> Hi,
> 
> In a bit-map image of 24bpp(bits per pixel) 3
> consecutive bytes give
> information
> regarding the color of a pixel ,1 byte each for each
> of the three colors =>
> red,blue and green.
> But i am not sure about the order in which these
> colors are stored,probably
> its G R B.(?)

Usually it is RGB.

Ray

> So by  comparing these 3 bytes of the pixel
> representation with (0 255 0)
> you can detect if its Red or not
> 
> Adios
> 
> On 2/21/07, krome152001 <[EMAIL PROTECTED]> wrote:
> >
> >   i was wondering how can i detect the color red
> in a pic in bitmap
> > format?? if someone can show me how that can be
> done or give me some
> > advice. thanks alot of your help
> > Ricardo
> >
> > 
> >
> 



 
____________________________________________________________________________________
Don't get soaked.  Take a quick peak at the forecast
with the Yahoo! Search weather shortcut.
http://tools.search.yahoo.com/shortcuts/#loc_weather

Reply via email to