On 11/1/05, Juhana Sadeharju <[EMAIL PROTECTED]> wrote: > What library can load 1-bit images to a format GTK understands? > My 1-bit images have been very large, the library should be > able to extract only a rectangle from the image before converting > anything to 24-bit. > > What library can handle tiled image formats?
I don't think gdkpixbuf can do on-demand conversions like this. It will load 1-bit images as complete 24-bit images. The TIFF library can handle 1-bit compressed tiled images and only convert the areas you need. Perhaps you could call that directly? ImageMagick has similar facilities: if you call GetImagePixels() it will, if possible, just decompress that section of the image. John _______________________________________________ gtk-app-devel-list mailing list gtk-app-devel-list@gnome.org http://mail.gnome.org/mailman/listinfo/gtk-app-devel-list