> Does anybody know how to work with pixels array in > Fl_GIF_Image provided by data()[0] call? I need to convert it > into 24bit RGB data. I know that GIF has its own color table. > So how can I access it with Fl_GIF_Image?
The Fl_GIF_image data is in a potentially tricky form... I have some code somewhere for making sense of it, erm... http://www.imm.uklinux.net/fltk/flbundle.tgz That's a thing I hacked together for making bundles on OSX - probably not all that useful to you, but IIRC (it was written a while ago) it does include code for converting GIF images into RGB so that they can then be converted into OSX icons... Hopefully that'll show you how to proceed - although I'm sure you could do a better job as this was a pretty rushed hack! 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

