> I would like to use FL_RGB_Image. As far as I understood, i > need the RGB-Picture first as an RBG-Array... Is that > correct? How do I create such a Array? Is there a special > programm (e.g. Gimp, or so?) > > Or did I completely missunderstand the concept of FL_RGB_Image?
You can use the fltk image API's to load an image from a png or jpeg or etc. and get at the image data that way. Or, if you are making synthetic images you can just build the image in memory as an RGB(A) array and point the FL_RGB_Image at it. This HowTo might help you: http://www.fltk.org/articles.php?L468 -- Ian 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

