On 13.03.2008, at 23:16, Zoltan Phelps wrote:

> i was just taking a look at FLTK and couldn't find a thread about  
> saving JPG or TIF image files. Is that even possible or does FLTK  
> only support opening and reading image files?
> I hope i don't have to implement that on my own...

FLTK1 does not provide a function to save images. But if you are  
linking with the jpeg and fltk image libraries anyways, saving a jpeg  
from binaries is about 10 lines of code calling the jeg library. Just  
take the libjpeg documentation for saving an RGB image and remove all  
commentary lines and you pretty much have all you need to save your  
data.

----
http://robowerk.com/


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

Reply via email to