#1122369 specify the order or rotating and cropping in the manpages of jpegtran

Package:
libjpeg-turbo-progs
Source:
libjpeg-turbo-progs
Description:
Programs for manipulating JPEG files
Submitter:
Peter Mueller
Date:
2025-12-10 12:57:03 UTC
Severity:
normal
#1122369#5
Date:
2025-12-10 12:55:10 UTC
From:
To:
Package: libjpeg-turbo-progs
Version: 1:2.1.5-4
As far as the documentation is concerned, it's unclear whether
jpegtran -rotate angle -crop WxH+X+Y -outfile of.jpg in.jpg
produces the same results as
jpegtran -crop WxH+X+Y -rotate angle -outfile of.jpg in.jpg
and which transformation would be applied first in each case: rotation or cropping. Please at least fix the documentation in this regard.
Better: make the two commands produce different results. The left transformation should be executed first (left-to-right, as with the math operator ⨾ rather than with the math operator ∘). Specify this in the documentation.
Gratefully!