Re: gdk_pixbuf_loader_write and short files



"Matthias Clasen" <matthiasc poet de> writes:
> The pixbuf loader interface has problems with small images.
> If the complete image file is shorter than 
> 
> #define LOADER_HEADER_SIZE 128
> 
> than load_increment is never called by gdk_pixbuf_loader_write
> and consequently, the pixbuf is not created. To see this problem in
> action, run gtk+/demos/testpixbuf on the appended pbm file.
> 
> I admit that images this small are rapidly becoming extinct in this
> world of multi-megabyte machines, but we could still try to handle them
> correctly.
> 

Agreed, can't we just force a load_increment when the loader is
closed?

Havoc





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