[cairo] 24-bits pixels in Cairo and libpixman

Jordi Mas jordi at ximian.com
Tue May 4 17:15:48 PDT 2004


Cairo and libpixman encode 24-bit pixels as 32-bits ones. See for
example _cairo_format_bpp in Cairo or pixman_format_create at libpixman.

Is there any special reason for this? I think that if you select 24-bit
pixels you will expect 3 bytes instead of 4.



More information about the cairo mailing list