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 792155 - Import of panorama pictures fails
Import of panorama pictures fails
Status: RESOLVED OBSOLETE
Product: shotwell
Classification: Other
Component: import
0.26.x
Other Linux
: Normal normal
: ---
Assigned To: Shotwell Maintainers
Shotwell Maintainers
: 719013 (view as bug list)
Depends on:
Blocks:
 
 
Reported: 2018-01-03 10:26 UTC by aapthorp
Modified: 2021-05-19 15:11 UTC
See Also:
GNOME target: ---
GNOME version: ---


Attachments
Screenshot of image details (103.32 KB, image/png)
2018-01-03 10:27 UTC, aapthorp
Details

Description aapthorp 2018-01-03 10:26:18 UTC
When importing panorama jpegs from my phone (Samsung S8) they fail with an error as follows:

/home/xxxx/Pictures/2017/09-Sep/12/20170912_131747.jpg
	error message: ||

Looking at the image details (see attachment) the image dimensions are zero. Is this causing the problem?
Comment 1 aapthorp 2018-01-03 10:27:05 UTC
Created attachment 366242 [details]
Screenshot of image details
Comment 2 Jens Georg 2018-01-05 12:20:49 UTC
Can you add the image in question (or something similar)? That would be really helpful.
Comment 3 aapthorp 2018-01-07 08:13:06 UTC
I've uploaded an example image with the same problem on dropbox

https://www.dropbox.com/s/e3vcgyka8xv1jcp/20171107_134312.jpg?dl=0
Comment 4 Jens Georg 2018-01-07 10:57:45 UTC
Info provided, thanks
Comment 5 Jens Georg 2018-01-07 11:36:44 UTC
It seems that GdkPixbuf has an issue reading this file; it fails with "Unsupported marker type 0xfb", which is weird, giving that eog displays the image just fine.
Comment 6 Jens Georg 2018-01-07 12:25:40 UTC
Eog simply ignores the error. The question is, whether we want to support partially broken images in Shotwell. This particular file has the "error" near the end so the image is complete, but what about other files...
Comment 8 Jens Georg 2018-01-07 12:38:00 UTC
FWIW, after modifying the version from 101 to 105 (which is in your file), https://gist.github.com/bcyrill/e59fda6c7ffe23c7c4b08a990804b269 fixes the image.

Maybe we can add this to Shotwell, maybe you should pre-process your files :-/
Comment 9 aapthorp 2018-01-09 13:45:36 UTC
Thanks, this works. I guess I'll have to pre-process the panoramic files from my phone for now. Hopefully Samsung comes up with a fix soon.
Comment 10 Jens Georg 2019-08-24 15:32:35 UTC
*** Bug 719013 has been marked as a duplicate of this bug. ***
Comment 11 GNOME Infrastructure Team 2021-05-19 15:11:11 UTC
-- GitLab Migration Automatic Message --

This bug has been migrated to GNOME's GitLab instance and has been closed from further activity.

You can subscribe and participate further through the new bug through this link to our GitLab instance: https://gitlab.gnome.org/GNOME/shotwell/-/issues/4896.