PixelPacket formats
Bob Friesenhahn <[email protected]> Sun, 26 Sep 2004 12:02:51 -0500 (CDT)
| Newsgroups | gmane.comp.video.graphicsmagick.core,gmane.comp.video.graphicsmagick.apis |
|---|---|
| Message-ID | <[email protected]> |
PixelPacket is the structure for storing TrueColor pixels and color palette entries in GraphicsMagick. Currently there are three structure layouts supported: Big endian processors: RGBA Macintosh (macintosh defined): ARGB Otherwise (mostly x86): BGRA I would like to eliminate support for the ARGB pixel layout (apparently used by MacOS) since it is not well supported by OpenGL and LCMS. It is useful to be able to provide pixels in the native format to third-party software in order to avoid extra memory allocations and data copying. Are there any strong reasons to continue to support the ARGB layout? Bob ====================================== Bob Friesenhahn [email protected] http://www.simplesystems.org/users/bfriesen ------------------------------------------------------- This SF.Net email is sponsored by: YOU BE THE JUDGE. Be one of 170 Project Admins to receive an Apple iPod Mini FREE for your judgement on who ports your project to Linux PPC the best. Sponsored by IBM. Deadline: Sept. 24. Go here: http://sf.net/ppc_contest.php