The bug is probably caused by internal image translation and processing.

If images are processed as 4 or 2 byte integers (Longword, word), not as a
sequence of bytes, the  code is simply not cross platform (not cross CPU at
least). because PPC is big-endian CPU, while Intel (that is the primary for
LCL component)s) in little-endian. Pixels can be placed in different oreder
not RGB, but BGR (or vice versa)

AFAIK, Mac OS provides routines for CGImages to handle this cross-CPU
situation. Intel-based images can be processed correclty on PPC. So little
fix would be required for Cabon wigdetset.
_______________________________________________
Lazarus mailing list
[email protected]
http://www.lazarus.freepascal.org/mailman/listinfo/lazarus

Reply via email to