Hi.
I'am working on Cairo Canvas implementation
and for implementing StretchDraw function I need
to get RasterImage data in format RGB24 or ARGB32.
CAIRO_FORMAT_ARGB32
each pixel is a 32-bit quantity, with alpha in the upper 8 bits, then red, then green, then blue. The 32-bit quantities are stored native-endian. Pre-multiplied alpha is used. (That is, 50% transparent red is 0x80800000, not 0x80ff0000.)
CAIRO_FORMAT_RGB24
each pixel is a 32-bit quantity, with the upper 8 bits unused. Red, Green, and Blue are stored in the remaining 24 bits in that order.
Can I use TLazIntfImage for this task and how?
Thanks.
Petr
