Forrest logo
back to context overview

jpegtran

List of commands for jpegtran:

  • jpegtran:tldr:1e074 jpegtran: Rotate an image 90, 180 or 270 degrees clockwise.
    $ jpegtran -rotate ${select} ${path-to-image-jpg} > ${path-to-output-jpg}
    try on your machine
    explain this command
  • jpegtran:tldr:29844 jpegtran: 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 ${W}x${H}+${X}+${Y} ${path-to-image-jpg} > ${path-to-output-jpg}
    try on your machine
    explain this command
  • jpegtran:tldr:4ae1a jpegtran: Mirror an image horizontally or vertically.
    $ jpegtran -flip ${select} ${path-to-image-jpg} > ${path-to-output-jpg}
    try on your machine
    explain this command
  • jpegtran:tldr:69dbb jpegtran: Transverse the image across the upper right to lower left axis.
    $ jpegtran -transverse ${path-to-image-jpg} > ${path-to-output-jpg}
    try on your machine
    explain this command
  • jpegtran:tldr:6ae50 jpegtran: Convert the image to grayscale.
    $ jpegtran -grayscale ${path-to-image-jpg} > ${path-to-output-jpg}
    try on your machine
    explain this command
  • jpegtran:tldr:94e62 jpegtran: Transpose the image across the upper-left to lower right axis.
    $ jpegtran -transpose ${path-to-image-jpg} > ${path-to-output-jpg}
    try on your machine
    explain this command
  • jpegtran:tldr:a7847 jpegtran: 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 ${W}x${H} -outfile ${path-to-output-jpg} ${path-to-image-jpg}
    try on your machine
    explain this command
back to context overview