On 07.12.2010, at 19:26, Slick Dealer wrote:

> If I could easily resize PNG images using FLTK, I wouldn't be using 
> Fl_Help_View.

You can, but it's a low quality resizing algorithm. The key is
Fl_Image::copy(int w, int h). You should load the original image
and keep it in the background, then use copy() from the original
image whenever you need to resize the image to a different size.
Don't forget to delete the previous image copy.

This works well as long as the quality is high enough for your
use case.

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

Reply via email to