CmdID

CmdID / Commands

jpegtran

Perform lossless transformation of JPEG files. tldr-pages

On Linux

Opens CmdID with your command. It is read in your browser and sent nowhere.

Mirror an image horizontally or vertically

jpegtran -flip horizontal path/to/image.jpg >path/to/output.jpgIdentify

Rotate an image 90, 180, or 270 degrees clockwise

jpegtran -rotate 90 path/to/image.jpg >path/to/output.jpgIdentify

Transpose the image across the upper-left to lower right axis

jpegtran -transpose path/to/image.jpg >path/to/output.jpgIdentify

Transverse the image across the upper right to lower left axis

jpegtran -transverse path/to/image.jpg >path/to/output.jpgIdentify

Convert the image to grayscale

jpegtran -grayscale path/to/image.jpg >path/to/output.jpgIdentify

Crop the image to a rectangular region of width W and height H from the upper-left corner, saving the output to a specific file

jpegtran -crop WxH -outfile path/to/output.jpg path/to/image.jpgIdentify

Crop the image to a rectangular region of width W and height H, starting at point X and Y from the upper-left corner

jpegtran -crop WxH+X+Y path/to/image.jpg >path/to/output.jpgIdentify