GNOME Bugzilla – Bug 792155
Import of panorama pictures fails
Last modified: 2021-05-19 15:11:11 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?
Created attachment 366242 [details] Screenshot of image details
Can you add the image in question (or something similar)? That would be really helpful.
I've uploaded an example image with the same problem on dropbox https://www.dropbox.com/s/e3vcgyka8xv1jcp/20171107_134312.jpg?dl=0
Info provided, thanks
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.
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...
https://us.community.samsung.com/t5/Galaxy-S-Phones/Popular-software-unable-to-open-S7-panoramic-images/td-p/52788
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 :-/
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.
*** Bug 719013 has been marked as a duplicate of this bug. ***
-- 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.