jpegtran

jpegtran 10

jpegtran performs various useful transformations of JPEG files

  • By Independent JPEG Group
  • Open Source
Download for Windows

About jpegtran

jpegtran performs various useful transformations of JPEG files. It can translate the coded representation from one variant of JPEG to another, for example from baseline JPEG to progressive JPEG or vice versa. It can also perform some rearrangements of the image data, for example turning an image from landscape to portrait format by rotation.\njpegtran works by rearranging the compressed data (DCT coefficients), without ever fully decoding the image. Therefore, its transformations are lossless: there is no image degradation at all, which would not be true if you used djpeg followed by cjpeg to accomplish the same conversion. But by the same token, jpegtran cannot perform lossy operations such as changing the image quality.\njpegtran reads the named JPEG/JFIF file, or the standard input if no file is named, and produces a JPEG/JFIF file on the standard output.

What's new in 10

jmorecfg.h: add JPEG_DATA_PRECISION parameter alongside and independent of BITS_IN_JSAMPLE, enabling higher bit depth support with backward compatibility and preparing the next standard for file interchange.\nAdd lossless negate function in jpegtran. Thank to Ulf-Dietrich Braumann for suggestion.\nEnable processing of images using reversible color transform with various bit depths by jpegtran.\nAdd Windwos 64 Bit (Modern) platform support in the C++Builder/RAD Studio build, remove ARM (32-bit) platform support in the Visual Studio build.

Full release notes »

Technical details

PublisherIndependent JPEG Group
Version10
LicenseOpen Source
Installer typeportable
Architectureneutral
Package IDIJG.jpegtran

Links & install command

Install jpegtran from the command line with Windows Package Manager (winget):

winget install --id=IJG.jpegtran -e

JPEGJFIFlosslessrotaterotationcrop