> Using .copy(width, height) to resize an Fl_JPEG_Image is very fast, > but the resulting thumbnail is not as pretty as using "convert" > utility of ImageMagick. > > Is there a way to resize jpegs in fltk that results in better looking > thumbnails? Or to set the quality of the .copy?
I think the fltk "resizing" just does (integer?) decimation of the source data... To get a "smoother" image you need to do some more complex interpolation/decimation process on the source data (functions that fltk does not provide for you.) So, you *might* be best linking in an image library to do that for you, if you need that functionality (unless you fancy writing your own, it might be fun!) Imagemagik and AGG both do smooth scaling of jpeg images, I assume all the many other image libs will do so too! SELEX Sensors and Airborne Systems Limited Registered Office: Sigma House, Christopher Martin Road, Basildon, Essex SS14 3EL A company registered in England & Wales. Company no. 02426132 ******************************************************************** This email and any attachments are confidential to the intended recipient and may also be privileged. If you are not the intended recipient please delete it from your system and notify the sender. You should not copy it or use it for any purpose nor disclose or distribute its contents to any other person. ******************************************************************** _______________________________________________ fltk mailing list [email protected] http://lists.easysw.com/mailman/listinfo/fltk

