pan-users
[Top][All Lists]
Advanced

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

[Pan-users] Re: Previews gone screwy


From: Greg Lee
Subject: [Pan-users] Re: Previews gone screwy
Date: Sat, 20 Oct 2007 16:53:39 +0000 (UTC)
User-agent: Pan/0.132 (Waxed in Black)

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





reply via email to

[Prev in Thread] Current Thread [Next in Thread]