> I worked with this MPC5200 and had similar problem too. My > problem with the device was in _twisted_ bytes in colors > representation. Graphics subsystem works with color as > LitteEndian. But CPU, as you know, is BigEndian. The FLTK > image library cannot work with such bytes sequence. To > resolve these troubles I had made special workarounds.
Ouch - that sounds tricky. If it is only PNG images that are being manipulated then libpng has a flag for handling BGR or RGB ordering, so that might help a bit. But not for other image formats, or fltk internal data, I guess. SELEX Sensors and Airborne Systems Limited Registered Office: Sigma House, Christopher Martin Road, Basildon, Essex SS14 3EL A company registered in England & Wales. Company no. 02426132 ******************************************************************** This email and any attachments are confidential to the intended recipient and may also be privileged. If you are not the intended recipient please delete it from your system and notify the sender. You should not copy it or use it for any purpose nor disclose or distribute its contents to any other person. ******************************************************************** _______________________________________________ fltk mailing list [email protected] http://lists.easysw.com/mailman/listinfo/fltk

