GNOME Bugzilla – Bug 103587
Consecutive Lossless jpeg rotations do not preserve image size
Last modified: 2004-12-22 21:47:04 UTC
Package: gthumb Severity: critical Version: 1.107 Synopsis: Consecutive Lossless jpeg rotations do not preserve image size Bugzilla-Product: gthumb Bugzilla-Component: general Description: Description of Problem: Rotating a jpg image with the lossles rotation dialog 4 times does not create a jpeg file of the same size as the initial image: Steps to reproduce the problem: 1. take a jpg image and rotate 4 times with lossless jpeg rotation in the same direction 2. look each time at the image size Actual Results: [lulu@lsanca1-ar4-058-040 lulu]$ ll DSCN0885.JPG -r-xr-xr-x 1 lulu lulu 1053972 Nov 10 18:17 DSCN0885.JPG <--- initial size [lulu@lsanca1-ar4-058-040 lulu]$ ll DSCN0885.JPG -rw-rw-r-- 1 lulu lulu 1046514 Jan 15 09:52 DSCN0885.JPG <--- after one rotation to the right [lulu@lsanca1-ar4-058-040 lulu]$ ll DSCN0885.JPG -rw-rw-r-- 1 lulu lulu 1053931 Jan 15 09:53 DSCN0885.JPG <--- after one rotation to the right [lulu@lsanca1-ar4-058-040 lulu]$ ll DSCN0885.JPG -rw-rw-r-- 1 lulu lulu 1046459 Jan 15 09:53 DSCN0885.JPG <--- after one rotation to the right [lulu@lsanca1-ar4-058-040 lulu]$ ll DSCN0885.JPG -rw-rw-r-- 1 lulu lulu 1053941 Jan 15 09:53 DSCN0885.JPG <--- after one rotation to the right Note that the first (initial) and last sizes differ, but the image is oriented the same after the 4 rotations. Looking at the image information only the last modified date is different: the histogram looks the same. Note also that repeating the rotations will give consistent results, i.e. the size will stay the same after one complete rotation for the same orientation. Expected Results: Should the size be the same? How often does this happen? always Additional Information: ------- Bug moved to this database by unknown@bugzilla.gnome.org 2003-01-15 13:05 ------- Reassigning to the default owner of the component, paolo.bacch@tin.it.
this happens with jpegtran too, so I suppose it is not a bug.