jpegtran
Perform lossless transformation of JPEG files. More information: https://manned.org/jpegtran.
- Mirror an image horizontally or vertically:
jpegtran >
- Rotate an image 90, 180, or 270 degrees clockwise:
jpegtran >
- Transpose the image across the upper-left to lower right axis:
jpegtran -transpose >
- Transverse the image across the upper right to lower left axis:
jpegtran -transverse >
- Convert the image to grayscale:
jpegtran >
- Crop the image to a rectangular region of width
Wand heightHfrom the upper-left corner, saving the output to a specific file:
jpegtran -crop x -outfile
- Crop the image to a rectangular region of width
Wand heightH, starting at pointXandYfrom the upper-left corner:
jpegtran -crop x++ >
来源:tldr-pages contributors · 作者与贡献记录 · CC BY 4.0。离线整理了版式、链接和媒体显示。
