Board index » cppbuilder » RGB value of Bitmap!!!

RGB value of Bitmap!!!

Dear everyone,
    i would like to ask beside using scanline function of bitmap to get the
RGB value of a pixel, any other method can also get the RGB value????
 

Re:RGB value of Bitmap!!!


See the Pixels property of the bitmap's canvas.  It is fine for
reading/writing a few pixels.  ScanLine is _much_ faster if you need
to read lots of pixels many times.

Pixels   = Easy and Slow
ScanLine = Difficult and Fast

On Fri, 19 Mar 1999 23:19:45 +0800, "Powis" <po...@netvigator.com>
wrote:

Quote
>Dear everyone,
>    i would like to ask beside using scanline function of bitmap to get the
>RGB value of a pixel, any other method can also get the RGB value????

Chris Hill
Chris...@aol.com

Re:RGB value of Bitmap!!!


thank for ur advice!
Quote
Chris Hill <Chris...@aol.com> wrote in message

news:36f26d90.309439200@forums.borland.com...
Quote
> See the Pixels property of the bitmap's canvas.  It is fine for
> reading/writing a few pixels.  ScanLine is _much_ faster if you need
> to read lots of pixels many times.

> Pixels   = Easy and Slow
> ScanLine = Difficult and Fast

> On Fri, 19 Mar 1999 23:19:45 +0800, "Powis" <po...@netvigator.com>
> wrote:

> >Dear everyone,
> >    i would like to ask beside using scanline function of bitmap to get
the
> >RGB value of a pixel, any other method can also get the RGB value????

> Chris Hill
> Chris...@aol.com

Other Threads