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 764495 - JPEG export: EXIF error
JPEG export: EXIF error
Status: RESOLVED INCOMPLETE
Product: GIMP
Classification: Other
Component: General
2.9.2
Other Linux
: Normal normal
: ---
Assigned To: GIMP Bugs
GIMP Bugs
Depends on:
Blocks:
 
 
Reported: 2016-04-02 12:18 UTC by Nikolai Malykh
Modified: 2016-11-26 19:26 UTC
See Also:
GNOME target: ---
GNOME version: ---


Attachments
Original file (1.89 MB, image/jpeg)
2016-04-02 20:18 UTC, Nikolai Malykh
Details
Exported by GIMP from original file (1.94 MB, image/jpeg)
2016-04-02 20:20 UTC, Nikolai Malykh
Details
Exported by GIMP (2.01 MB, image/jpeg)
2016-04-02 20:24 UTC, Nikolai Malykh
Details

Description Nikolai Malykh 2016-04-02 12:18:49 UTC
After exporting image to JPG format some programs can't load them with error:
Corrupt JPEG data: extraneous bytes before marker 0xed <file name>


gimp -v --verbose
GNU Image Manipulation Program версии 2.9.3
git-describe: GIMP_2_9_2-709-gcb76253

используя GEGL версии 0.3.7 (собранной с версией 0.3.7)
используя GLib версии 2.48.0 (собранной с версией 2.48.0)
используя GdkPixbuf версии 2.34.0 (собранной с версией 2.34.0)
используя GTK+ версии 2.24.30 (собранной с версией 2.24.30)
используя Pango версии 1.40.0 (собранной с версией 1.40.0)
используя Fontconfig версии 2.11.94 (собранной с версией 2.11.94)
используя Cairo версии 1.15.2 (собранной с версией 1.15.2)
Comment 1 Michael Natterer 2016-04-02 16:40:14 UTC
Does this happen only with images you also imported from another JPEG,
or with all images (also ones created from scratch)?
Comment 2 Max Mustermann 2016-04-02 18:33:21 UTC
Searching the web there are some similar errors with the same message, but it's open whether the buggy files are from GIMP.
Can you post the file before JPEG export and the exported JPEG file? What were the exact JPEG export options? Which programs complain about the JPEG file? Do they also complain when you export from GIMP 2.8.16?
Comment 3 Nikolai Malykh 2016-04-02 20:17:41 UTC
(In reply to Michael Natterer from comment #1)
> Does this happen only with images you also imported from another JPEG,
> or with all images (also ones created from scratch)?

This happens if original file imported from RAWtherapee. See attached files after few minutes.
Comment 4 Nikolai Malykh 2016-04-02 20:18:39 UTC
Created attachment 325245 [details]
Original file

Image from HTC smartphone.
Comment 5 Nikolai Malykh 2016-04-02 20:20:58 UTC
Created attachment 325246 [details]
Exported by GIMP from original file

No error
Comment 6 Nikolai Malykh 2016-04-02 20:24:50 UTC
Created attachment 325247 [details]
Exported by GIMP

Error.
Original file was open in RAWtherapee than exported to GIMP (without any transformation) and exported to JPG by GIMP (without any transformation)
Comment 7 Jehan 2016-07-23 13:52:25 UTC
Hello,

I had the same error when opening in GIMP master the image from comment 6 (but it can still load it). Also opening the image metadata, the `metadata` window becomes all glitchy and slow, taking 100% of a CPU.

The 2 other images are fine.

And ImageMagick also outputs this same error (with comment `identify`).

Nikolai > could you send us the image as exported from RAWtherapee? This way, we could see if the error is already present at this stage or if GIMP created a broken file.

In any case, whether or not GIMP is responsible for the broken file, the metadata info window at least should not become crazy on a broken image.
Comment 8 Michael Schumacher 2016-10-09 19:31:08 UTC
Nikolai, we are waiting for this file.
Comment 9 Michael Schumacher 2016-11-26 19:26:50 UTC
Closing this bug report as no further information has been provided. Please feel free to reopen this bug report if you can provide the information that was asked for in a previous comment.
Thanks!