Rows (or columns) of pixels appear in the wrong place after rotation with jpegtran

Bug #1894403 reported by Riccardo Maffei
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
libjpeg-turbo (Ubuntu)
New
Undecided
Unassigned

Bug Description

Images rotated with jpegtran have rows or columns of pixels in the wrong place.
In particular:
 - When rotating by 90 degrees some columns of pixels from the left are moved to the right.
 - When rotating by 270 degrees some rows of pixels from the top are moved to the bottom.
 - When rotating by 180 degrees both of the issues mentioned above affect the output image.

Note that the words "top", "bottom", "left" and "right" always refer to the image after the rotation.

Steps to reproduce:
1. Download a random jpeg image (e.g. the Ubuntu logo)
2. Rotate it with jpegtran (e.g. by 90 degrees)
3. The image is now rotated

Expected behavior:
4. Everything is in the right place

Actual behavior:
4. Some rows and/or columns of pixels are in the wrong place (as explained above)

Tested package version: 2.0.3-0ubuntu1.20.04.1
System release: Ubuntu 20.04.1 LTS

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.