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. ... > I think I tested Fl_Image resizing but realized that image rendering is much > better if I use Fl_Help_View to display/resize the image. Has anyone had a > similar experience?
Fl_Help_View uses Fl_Shared_Image as its image base class, but does exactly what I described above. Note that I wrote that you should save the /original/ image and copy this one each time you need another resolution. Maybe you copied the copy of the copy of the copy... This would result in degradation of the image each time you resize, and once the size is small, you can't get it better if you make it larger. That's the only explanation I can see for this difference. Albrecht _______________________________________________ fltk mailing list [email protected] http://lists.easysw.com/mailman/listinfo/fltk

