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. Matthias
Attachment:
test1.pbm
Description: Binary data