Hello !

I need a way to encode Fl_Images to PNG or JPEG, I looked at various places and made the skeleton code but I'm getting strange results.

It seems that some colors are inverted or missing on jpg images and on png they seen to skip dome colors.


Attached is a fluid project and a patch to add a static method "encode" to Fl_PNG_Image and Fl_JPEG_Image, when they work properly I propose then to be added to official fltk distribution.

I appreciate any help !
_______________________________________________
fltk mailing list
[email protected]
http://lists.easysw.com/mailman/listinfo/fltk

Reply via email to