Twisted PNG colors on MacOSX


More a bug report than a request:
Saving a canvas on a PNG , I get a twisted color palette (see test_MacOSX.png)
This appears for root v5.18 on MacOSX (PowerPC, 10.4.11).
This is not the case under linux (SLC3), nor for gif files. (test_SLC3.png and test.gif).

The files were produced with a c1->SaveAs(“test.png”) or Print(“test.png”).

Best regards,


This problem was in the libAfterImage library and has been fixed two weeks ago in the SVN trunk. The problem was visible on all big-endian systems (byte-swapping problem).
You can pick the source from SVN or wait for the coming binary release 5.19/02 on March 15.