GNOME Bugzilla – Bug 489985
inline previews of "large" jpegs images are not rendered (inlined) properly
Last modified: 2010-07-10 04:08:05 UTC
Please describe the problem: Two application that render jpegs inline have stopped rendering jpegs properly since gtk+-2.12.x. By not rendering properly, I mean only a small portion at the top of the image is rendered, the rest of the image (bottom part) is rendered as a black matte. The two applications (that I know of ) that are affect are pan2 and liferea. Steps to reproduce: 1. Use pan2 to preview images greater than 500k inline. 2. Use liferea to preview a feed with images greater than 500k. 3. Actual results: Expected results: Does this happen every time? Other information:
The cause of this problem is found in io-jpeg.c, in the subroutine gdk_pixbuf__jpeg_image_load_increment(gpointer context, const guchar *buf, guint size, GError **error); This subroutine improperly limits the acceptable value of 'size' to 65536 bytes in line 48: #define JPEG_PROG_BUF_SIZE 65536 The jpeg pixbuf loader is the only image loader that does this and IMO should be modified to match the behavior of the other loaders.
*** This bug has been marked as a duplicate of 495703 ***