Jep, it works now!

Have derived Fl_PNG_Image to Fl_PNG_Image_Memory and had to use 
'png_set_read_fn' from libpng. Now I can access the char array which 
helds my jpg to load it.

This helped me: http://www.mail-archive.com/[email protected]/msg01082.html

I think a lot of people migth be happy if this would be a feature 
included in FLTK in future! For me it is really good to have the image 
included in my binary, but not that huge like using a pixmap, because my 
target is an embedded system....

Thanks for your tips! Otherwise I had never managed it!
Thanks guys!

PS: To the FLTK-Developers: I will suggest to my boss next days, that we 
donate a little money to free software projects every year or half a 
year. :-) Now, do you guys have running infrastructure which costs extra 
money for you, or should we better donate it to projects like coLinux, 
or some GNU/Linux-Projects we are using? ;-)
_______________________________________________
fltk mailing list
[email protected]
http://lists.easysw.com/mailman/listinfo/fltk

Reply via email to