Robert Arkiletian wrote:
> 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?
convert(1) has quite a bit of complex code to do non-integer
image resizing.
ImageMagick is a full on image management library, so expect
it will have much better image resizing/enhancement capabilities
than what I expect is probably simple integer resizing in fltk.
To do proper resizing outside of simple 'power of two' changes
usually involves linear or gaussian interpolation of pixels to
prevent artifacts.
You can link in ImageMagick to use its libraries to do more
advanced image manipulation, or try to limit your resizing
to power of two scaling.
_______________________________________________
fltk mailing list
[email protected]
http://lists.easysw.com/mailman/listinfo/fltk