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 633048 - Loosing exif data if exif/iptc/xmp plugin(s) not installed
Loosing exif data if exif/iptc/xmp plugin(s) not installed
Status: RESOLVED OBSOLETE
Product: gthumb
Classification: Other
Component: general
2.12.x
Other Linux
: Normal critical
: ---
Assigned To: Paolo Bacchilega
Paolo Bacchilega
Depends on:
Blocks:
 
 
Reported: 2010-10-24 18:38 UTC by Dominik Mayer
Modified: 2020-11-14 09:13 UTC
See Also:
GNOME target: ---
GNOME version: ---



Description Dominik Mayer 2010-10-24 18:38:54 UTC
Rotating an image in gThumb deletes most of the EXIF metadata.

Before:

$  exiftool 2010-06-21\ -\ 14-03-33.jpg 
ExifTool Version Number         : 8.21
File Name                       : 2010-06-21 - 14-03-33.jpg
Directory                       : .
File Size                       : 1473 kB
File Modification Date/Time     : 2010:06:21 08:03:34+02:00
File Permissions                : rw-r--r--
File Type                       : JPEG
MIME Type                       : image/jpeg
Exif Byte Order                 : Little-endian (Intel, II)
Make                            : FUJIFILM
Camera Model Name               : FinePix F31fd
Orientation                     : Horizontal (normal)
X Resolution                    : 72
Y Resolution                    : 72
Resolution Unit                 : inches
Software                        : Digital Camera FinePix F31fd   Ver1.00
Modify Date                     : 2010:06:21 14:03:33
Y Cb Cr Positioning             : Co-sited
Copyright                       : 
Exposure Time                   : 1/50
F Number                        : 2.8
Exposure Program                : Program AE
ISO                             : 800
Exif Version                    : 0220
Date/Time Original              : 2010:06:21 14:03:33
Create Date                     : 2010:06:21 14:03:33
Components Configuration        : Y, Cb, Cr, -
Compressed Bits Per Pixel       : 2
Shutter Speed Value             : 1/49
Aperture Value                  : 2.8
Brightness Value                : 0.53
Exposure Compensation           : 0
Max Aperture Value              : 2.8
Metering Mode                   : Multi-segment
Light Source                    : Unknown
Flash                           : Off, Did not fire
Focal Length                    : 8.0 mm
Version                         : 0130
Internal Serial Number          : FC HA900214 592D31323732 2006:11:09 85A3301088B2
Quality                         : NORMAL
White Balance                   : Auto
Saturation                      : Normal
Fuji Flash Mode                 : Off
Flash Exposure Comp             : 0
Macro                           : Off
Focus Mode                      : Auto
Focus Pixel                     : 1424 1068
Slow Sync                       : Off
Picture Mode                    : Program AE
Auto Bracketing                 : Off
Sequence Number                 : 0
Color Mode                      : Standard
Blur Warning                    : Blur Warning
Focus Warning                   : Good
Exposure Warning                : Good
Dynamic Range                   : Standard
Faces Detected                  : 0
Flashpix Version                : 0100
Color Space                     : sRGB
Exif Image Width                : 2848
Exif Image Height               : 2136
Interoperability Index          : R98 - DCF basic file (sRGB)
Interoperability Version        : 0100
Focal Plane X Resolution        : 3703
Focal Plane Y Resolution        : 3703
Focal Plane Resolution Unit     : cm
Sensing Method                  : One-chip color area
File Source                     : Digital Camera
Scene Type                      : Directly photographed
Custom Rendered                 : Normal
Exposure Mode                   : Auto
Scene Capture Type              : Standard
Sharpness                       : Normal
Subject Distance Range          : Unknown
PrintIM Version                 : 0250
Compression                     : JPEG (old-style)
Thumbnail Offset                : 1434
Thumbnail Length                : 8664
Image Width                     : 2848
Image Height                    : 2136
Encoding Process                : Baseline DCT, Huffman coding
Bits Per Sample                 : 8
Color Components                : 3
Y Cb Cr Sub Sampling            : YCbCr4:2:2 (2 1)
Aperture                        : 2.8
Image Size                      : 2848x2136
Scale Factor To 35 mm Equivalent: 4.5
Shutter Speed                   : 1/50
Thumbnail Image                 : (Binary data 8664 bytes, use -b option to extract)
Circle Of Confusion             : 0.007 mm
Field Of View                   : 53.1 deg
Focal Length                    : 8.0 mm (35 mm equivalent: 36.0 mm)
Hyperfocal Distance             : 3.42 m
Light Value                     : 5.6

After:

$  exiftool 2010-06-21\ -\ 14-03-33.jpg 
ExifTool Version Number         : 8.21
File Name                       : 2010-06-21 - 14-03-33.jpg
Directory                       : .
File Size                       : 1400 kB
File Modification Date/Time     : 2010:10:24 20:31:42+02:00
File Permissions                : rw-r--r--
File Type                       : JPEG
MIME Type                       : image/jpeg
JFIF Version                    : 1.01
Resolution Unit                 : None
X Resolution                    : 1
Y Resolution                    : 1
Image Width                     : 2136
Image Height                    : 2848
Encoding Process                : Baseline DCT, Huffman coding
Bits Per Sample                 : 8
Color Components                : 3
Y Cb Cr Sub Sampling            : YCbCr4:4:0 (1 2)
Image Size                      : 2136x2848
Comment 1 Matthias Hawran 2010-10-29 21:24:03 UTC
Hi Dominik,

I don't have the problem, using latest git master as of today (only a few commits after 2.12.0)

To be precise I'm loosing 6 and gaining 2 fields (out of 153).

Can you attach your image example for us to reproduce?

Cheers,
Matthias
Comment 2 Dominik Mayer 2010-10-31 17:41:01 UTC
Hi Matthias,

the image is to large to be attached. I uploaded it to Picasa Web Albums: http://picasaweb.google.com/lh/photo/WpRWIrjXVqH9nTEWjwlJTwu1T7LugvKVDvwk8_Qaga8?feat=directlink.

Cheers,

Dominik
Comment 3 Dominik Mayer 2010-11-01 00:01:05 UTC
I did some more testing and it seems that for whatever reason the exif, iptc, xmp plugin was not enabled. If this is not the default setting and just happened to me, the bug can be marked as resolved.
Comment 4 Paolo Benvenuto 2010-11-01 18:47:01 UTC
I consider the user should be informed that, since he/she hasn't the exif/iptc/xmp plugin(s) installed, he/she is going to loose the metadata.

Until that information isn't provided, I consider this a serious bug, beeing a data loss one.
Comment 5 Dominik Mayer 2010-11-11 00:38:31 UTC
I'm with Paolo. The user doesn't expect he/she will also lose metadata already stored in images once he/she disables the plugin.
Comment 6 Paolo Benvenuto 2010-11-11 06:39:50 UTC
I would change the bug title to "Loosing exif data if exif/iptc/xmp plugin(s) not installed"
Comment 7 Michael Chudobiak 2010-12-20 19:50:21 UTC
If the exif plugin is disabled, exif metadata isn't saved. I don't think that is unexpected.

The exif plugin is enabled by default, so exif data loss will only occur if the user explicitly disables this plugin.

The original reporter was bitten by bug 635475, probably, which prevented the the default plugins from actually being enabled. That was the real problem.

Closing this bug as NOTABUG.

- Mike
Comment 8 Dominik Mayer 2010-12-20 19:54:06 UTC
I disagree. I'm not a gthumb developer, I'm an ordinary user. If I read "don't save exif metadata" I think that the tags or the description I add to a picture are not saved in the file. I do not expect that already existing metadata is deleted by rotating an image. Especially because this kind of jpeg rotation is usually lossless.
Comment 9 Paolo Benvenuto 2010-12-20 20:05:13 UTC
I agree with Dominik. Suppose you inadvertently disable exif plugin, a thing that could pass to a newbie.

From that moment, he would be loosing all exif data. Until he realizes he shouldn't have disabled that plugin!

At least an advice of serious data loss should be shown on disabling the plugins that give data loss.
Comment 10 Dominik Mayer 2010-12-20 20:18:10 UTC
And maybe also show a warning before performing the transformation. Rotating an image does usually not involve a second step where you can save or abandon the changes so there's no way to undo the damage.

There are numerous use cases: Newbie disables plugin without knowing what it does (I'd argue that this could also happen to experienced users), someone else (family, spouse) uses the computer, ...
Comment 11 Paolo Benvenuto 2015-12-21 08:23:24 UTC
I think this bug should be reopened, because the ordinary user could get an unexpected data loss without knowing it and without any simple mean to understand that it is happening.

The user must receive at least a notice.

@Dominik, please reopen it
Comment 12 Dominik Mayer 2015-12-21 09:40:08 UTC
Done.
Comment 13 André Klapper 2020-11-14 09:13:11 UTC
bugzilla.gnome.org is being replaced by gitlab.gnome.org. We are closing all
old bug reports and feature requests in GNOME Bugzilla which have not seen
updates for a long time.

If you still use gthumb and if you still see this bug / want this feature in a
recent and currently supported version, then please feel free to report it at
https://gitlab.gnome.org/GNOME/gthumb/-/issues/
by following the guidelines at
https://wiki.gnome.org/Community/GettingInTouch/BugReportingGuidelines

Thank you for creating this report and we are sorry it could not be implemented
so far (volunteer workforce and time is limited).