Public bug reported:

It seems this program isn't operative in Ubuntu 18.04, unless I've
overlooked something.

$ md5sum parrots.jpg
1b624b6d36f1c47f17095ae3dd336a92  parrots.jpg
$ jpegexiforient -2 parrots.jpg
$ echo $?
0
$ md5sum parrots.jpg 
1b624b6d36f1c47f17095ae3dd336a92  parrots.jpg
$ jpegexiforient -9 parrots.jpg 
jpegexiforient reads or writes the Exif Orientation Tag in a JPEG Exif file.
Usage: jpegexiforient [switches] jpegfile
Switches:
  --help     display this help and exit
  --version  output version information and exit
  -n         Do not output the trailing newline
  -1 .. -8   Set orientation value 1 .. 8
$ echo $?
1
$ jpegexiforient -3 parrots.jpg 
$ echo $?
0
$ md5sum parrots.jpg 
1b624b6d36f1c47f17095ae3dd336a92  parrots.jpg

Visually confirmed that the image does not display any differently after
the failed EXIF changes (which would have been an interesting result
considering the hash of the file stayed constant).

I downloaded a sample JPEG file from the following location ("PARROTS")
https://www.fileformat.info/format/jpeg/sample/

** Affects: libjpeg9 (Ubuntu)
     Importance: Undecided
         Status: New

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1842116

Title:
  jpegexiforient does not reliably detect EXIF orientation

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/libjpeg9/+bug/1842116/+subscriptions

-- 
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to