After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 489985 - inline previews of "large" jpegs images are not rendered (inlined) properly
inline previews of "large" jpegs images are not rendered (inlined) properly
Status: RESOLVED DUPLICATE of bug 495703
Product: gdk-pixbuf
Classification: Platform
Component: general
git master
Other All
: Normal normal
: ---
Assigned To: gtk-bugs
gtk-bugs
Depends on:
Blocks:
 
 
Reported: 2007-10-25 00:40 UTC by devchan1
Modified: 2010-07-10 04:08 UTC
See Also:
GNOME target: ---
GNOME version: ---



Description devchan1 2007-10-25 00:40:06 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:
Comment 1 walt 2007-10-25 01:55:52 UTC
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.
Comment 2 Matthias Clasen 2007-11-21 05:04:32 UTC

*** This bug has been marked as a duplicate of 495703 ***