Re: gdk-pixbuf: partial image loading



On Sun, Jun 24, 2001 at 08:57:17PM +0200, Nicolas George wrote:
> Is it possible, with gdk pixbuf, tu partially load an image? By that, I
> mean to get a pixbuf with only a sub-image or a shrinked image, without
> loading all in memory. This would be really useful in order to load parts
> of huges high resolution images, or scaled to fit on the screen, without
> filling the memory.

You would have to load the whole image in memory, then scale or crop it as you like (gdk-pixbuf comes with functions for this).




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