MacArthur, Ian (SELEX GALILEO, UK) schrieb: >> Have derived Fl_PNG_Image to Fl_PNG_Image_Memory and had to use >> 'png_set_read_fn' from libpng. > > Sounds about right. > >> Now I can access the char array which >> helds my jpg to load it. > > OK, that's good - though by "jpg" above I assume you actually mean PNG > now?
Sure, I mean PNG. Just a typo... >> This helped me: >> http://www.mail-archive.com/fltk@easysw.com/msg01082.html > > Yes, that looks about right as an implementation. > I think I remember that thread - I think something similar may also have > come up again since, too... > >> I think a lot of people migth be happy if this would be a feature >> included in FLTK in future! > > Indeed - it has come up a few times. > If you have an implementation you are happy with, would not do any harm > to post it as an STR just in case... Jeah, this is correct, but I'm not a C++ programmer at all (Normaly code in the C style, although I use a g++ ;-) Only if I use FLTK or if I have to derive a class I try to programm C++), so I think it is a bit nasty code and no good idea... >> 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, > > Well, tricky... All the "infrastructure" runs on Mike's servers at > easysw, so far as I know. > I have no idea if he would accept a donation... Was just an idea, but there are a lot of projects out there which are really happy about a bit support for their infrastructure :-) _______________________________________________ fltk mailing list fltk@easysw.com http://lists.easysw.com/mailman/listinfo/fltk