On Wed, Mar 16, 2011 at 8:31 PM, bill lam <[email protected]> wrote:
> Yes, flip_rgb is needed for cairo and gdi32 but not gdiplus.
> J seems had chosen an inefficient way to represent pixsel color as an
> integer.

http://msdn.microsoft.com/en-us/library/ee719797(v=vs.85).aspx

Efficient pixel formats are 32 bits wide.

rgb is for directx
http://msdn.microsoft.com/en-us/library/aa753543(v=vs.85).aspx

I am not sure what bgr is for.  I have a vague memory of it being used
in .bmp files, but when I looke them up, wikipedia says they are rgb
(wikipedia is inaccurate often enough but I still would hope that for
something this narrow and specific someone would have noticed and
fixed it if it was wrong)

-- 
Raul
----------------------------------------------------------------------
For information about J forums see http://www.jsoftware.com/forums.htm

Reply via email to