On Fri, 19 Oct 2007 23:39:25 -0400, Dave Chand wrote:

> I have been experimenting with gdk-pixbuf. What I find is the following:
> in the file gtk+2.12.x/gdk-pixbuf/io-jpeg.c there is the statement
> #define JPEG_PROG_BUF_SIZE 65536
> if you change its value to something significantly higher, such as
> #JPEG_PROG_BUF_SIZE 500000
> then it seems the decoding problems go away.
> 
> Can someone with some knowledge of gtk please comment on this?

No knowledge of gtk here, but your fix works for me (using gtk+-2.12.0).
This is an extremely useful discovery.  Thanks!  I tried it with
1.1M and 1.2M multipart jpgs, and they displayed okay.

-- 
Greg



_______________________________________________
Pan-users mailing list
Pan-users@nongnu.org
http://lists.nongnu.org/mailman/listinfo/pan-users

Reply via email to