[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Carbon (22): PNGs broken
From: |
YAMAMOTO Mitsuharu |
Subject: |
Re: Carbon (22): PNGs broken |
Date: |
Sat, 03 May 2008 23:07:59 +0900 |
User-agent: |
Wanderlust/2.14.0 (Africa) SEMI/1.14.6 (Maruoka) FLIM/1.14.8 (Shijō) APEL/10.6 Emacs/23.0.50 (sparc-sun-solaris2.8) MULE/5.0 (SAKAKI) |
>>>>> On Sat, 3 May 2008 13:49:41 +0100, David Reitter <address@hidden> said:
> The last set of check-ins that introduces Image I/O API use in the
> Carbon port (22 branch) broke PNG display; my PNGs are all blue-on-
> white now (both in tool-bar and when loaded in a buffer). I didn't
> specifically set USE_MAC_IMAGE_IO, so it is at its default (FALSE or
> not defined unless I'm mistaken).
Sounds like an endian issue if you run it on an Intel machine.
Could you try adding kCGBitmapByteOrder32Host to the last
argument of each CGBitmapContextCreate call?
YAMAMOTO Mitsuharu
address@hidden