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 103587 - Consecutive Lossless jpeg rotations do not preserve image size
Consecutive Lossless jpeg rotations do not preserve image size
Status: RESOLVED NOTABUG
Product: gthumb
Classification: Other
Component: general
unspecified
Other other
: Normal critical
: ---
Assigned To: Paolo Bacchilega
Paolo Bacchilega
Depends on:
Blocks:
 
 
Reported: 2003-01-15 18:12 UTC by Luciano
Modified: 2004-12-22 21:47 UTC
See Also:
GNOME target: ---
GNOME version: ---



Description Luciano 2003-01-15 18:05: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.

Comment 1 Paolo Bacchilega 2003-01-15 18:38:49 UTC
this happens with jpegtran too, so I suppose it is not a bug.