On Feb 10, 2010, at 11:57 AM, MacArthur, Ian (SELEX GALILEO, UK) wrote:

>> So, do I really have to modify libpng/libjpg like mentioned later in 
>> this thread? Or is it possible to modify Fl_PNG_Image, for 
>> example, to 

I would add a method to Fl_PNG_Image or to an inherited version. The code in 
that class is relatively straight forward.

>> forward the pointer of the array where the image is stored to fltk?
>> --> Any examples/docs to this?
> 
> 
> Libpng is bundled with fltk anyway, and is almost certainly on your
> development box too.
> 
> You do not have to modify libpng in any way, you just need to use it a
> bit differently; the standard way we use it is to pass it a filename, it
....


Also, there was a thread here in the last 6 months that was all about loading 
jpegs from memory buffers. You might find some good examples there.

_______________________________________________
fltk mailing list
[email protected]
http://lists.easysw.com/mailman/listinfo/fltk

Reply via email to