On 20.02.2011, at 20:26, Rainer Rinke wrote:

> Hi all,
> 
> actually the only method for drawing a jpeg is to draw it from a file.
> But sometimes you have it already in memory; so it might be useful to offer 
> an additional drawing method for this case.

1.3 supports that.

> I coded an additional constructor for the Fl_JPEG_Image class and I would 
> like to contribute it to the FLTK project. Shall I post it the same way as 
> this message or is there another address where i can send the code to?

Thanks, it's alreay in the code. I had the same quest as you and decided to add 
that to the library. Take a look at the FLuid source code, and you can see how 
to create HTML pages for Fl_Help_View that contain jpegs, all from program 
memory and without external files.

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

Reply via email to