GtkImage - How to resize image to fit in a window of a fixed size

Hi All,
I've an embedded application using GTK in which I need to show images. My window is of a fixed size (VGA) and while showing the images which are larger than VGA, images are cropped and shown. Is there any way to resize an image (I cant resize my image beforehand since I receive them and show it)  to my screen size and show them?

Harinandan S

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