My question is how to create this idata-String which i have to use to create 
the Fl_RGB_Image.

Because I want to statically link the picture into my code, and over the 
Fl_RGB_Image this seems to be done. But over Fl_BMP_Image it is dinamically 
loaded on runtime.... Or ist this wrong?

Tanks!
Michael

> > I would like to use FL_RGB_Image. As far as I understood, i=20
> > need the RGB-Picture first as an RBG-Array... Is that=20
> > correct? How do I create such a Array? Is there a special=20
> > programm (e.g. Gimp, or so?)
> >=20
> > 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 =20
>
>
> --=20
> Ian
>
>
>
> SELEX Sensors and Airborne Systems Limited
> Registered Office: Sigma House, Christopher Martin Road, Basildon, Essex SS=
> 14 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

Reply via email to