> > On 21.05.2008, at 23:52, chad petzoldt wrote: > > > Ok, so I got it working using an Fl_PNG_Image and then set it with > > Fl_Button::image(), but now there is something else wrong. The > > quality of my png was severely diminished. The size did not change, > > but it is now very pixelated. What is causing this/how to avoid? > > FLTK does not chnage the image data at all, unless you copy the image > to a different size. Fl_Image::copy(w, h) uses the cheap and ugly > "nearest neighbor" math. > > ---- > http://robowerk.com/ > > You were right. I think my transparency caused the problem somehow. When I added a solid background, it was golden, but with a varying alpha levels all throughout the image it made the image look absolutely horrible. If I need to use transparency in the future, how do I avoid this?
_______________________________________________ fltk mailing list [email protected] http://lists.easysw.com/mailman/listinfo/fltk

