Re: Resize image to fit button



On Thu, Jun 08, 2006 at 04:04:31PM -0700, 3saul wrote:

I need to add images to buttons, the images will have random sizes but I need
to scale them down so that they're about a 10th of their original
size...what is the easiest way to do this?

gdk_pixbuf_scale_simple()

The details depend on whether the images should be scaled
to fit a button (=> gtk_icon_size_lookup()) or to 1/10,
these are two different things.

Yeti


--
Anonyms eat their boogers.



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]