Bug 1214913

Summary: jhead deletes EXIF data
Product: [openSUSE] openSUSE Distribution Reporter: Bob Vickers <bob>
Component: OtherAssignee: Petr Gajdos <pgajdos>
Status: RESOLVED FIXED QA Contact: E-mail List <qa-bugs>
Severity: Major    
Priority: P5 - None CC: meissner, pgajdos, tuxuser
Version: Leap 15.5   
Target Milestone: ---   
Hardware: x86-64   
OS: openSUSE Leap 15.5   
Whiteboard:
Found By: --- Services Priority:
Business Priority: Blocker: ---
Marketing QA Status: --- IT Deployment: ---
Attachments: Image before rotation

Description Bob Vickers 2023-09-03 16:21:12 UTC
Created attachment 869225 [details]
Image before rotation

jhead version 3.06.0.1-bp155.4.6 deletes EXIF data when rotating images.

$ exiftool rotated.jpg | wc -l
92
$ jhead -autorot rotated.jpg 

Nonfatal Error : 'rotated.jpg' Command has invalid characters.
$ exiftool rotated.jpg | wc -l
23

I found a report for this bug on an Debian site:
https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=1023303
Comment 1 Reimar Imhof 2023-11-13 21:34:01 UTC
This was fixed in openSUSE 15.4 with https://bugzilla.opensuse.org/show_bug.cgi?id=1207150 but this fix is missing in openSUSE 15.5.
Comment 3 Petr Gajdos 2023-11-14 09:02:33 UTC
Should be fixed in 
https://build.opensuse.org/request/show/1125827
Comment 4 Petr Gajdos 2023-11-14 09:12:14 UTC
b15sp6 and TW has jhead 3.08 so this should be fixed everywhere now.
Comment 5 Petr Gajdos 2023-11-15 18:46:03 UTC
Thanks Marcus, fixed.
Comment 6 Bob Vickers 2023-11-16 09:05:59 UTC
I have applied latest patches to Leap 15.5 and I can confirm the problem is fixed. Thank you!
Comment 7 Petr Gajdos 2023-11-16 11:31:11 UTC
Thanks for confirmation.