Skip to content

mozilla/mozjpeg

Folders and files

NameName
Last commit message
Last commit date

Latest commit

Dec 23, 2024
19999bc · Dec 23, 2024
Aug 26, 2023
Dec 11, 2024
Oct 30, 2024
Nov 15, 2024
Oct 30, 2024
Mar 8, 2024
Dec 23, 2024
Dec 23, 2024
Dec 12, 2024
Sep 3, 2024
Dec 23, 2024
Dec 23, 2024
Jul 10, 2017
Dec 23, 2024
Dec 23, 2024
Mar 28, 2019
Dec 18, 2024
Sep 24, 2024
Feb 25, 2021
Dec 23, 2024
Jun 25, 2024
Oct 14, 2021
Feb 25, 2021
Dec 23, 2024
Jan 6, 2022
Dec 23, 2024
Oct 27, 2020
Aug 30, 2024
Dec 23, 2024
Nov 4, 2022
Oct 10, 2015
Jul 28, 2020
Jun 25, 2024
Aug 26, 2024
Dec 14, 2023
Nov 14, 2023
Aug 2, 2024
Jul 24, 2018
Dec 23, 2024
Dec 23, 2024
Dec 23, 2024
Dec 23, 2024
Dec 16, 2022
Nov 18, 2024
Dec 23, 2024
Nov 14, 2022
Jan 24, 2015
Dec 23, 2024
Dec 23, 2024
Mar 16, 2018
Dec 23, 2024
Nov 14, 2022
Nov 22, 2022
Dec 18, 2024
Dec 23, 2024
Dec 23, 2024
Dec 23, 2024
May 14, 2024
Nov 23, 2022
May 23, 2022
Jan 16, 2024
Dec 23, 2024
Dec 23, 2024
Dec 16, 2022
Dec 16, 2022
Mar 17, 2018
Dec 23, 2024
Dec 23, 2024
Dec 18, 2024
Feb 23, 2022
Aug 13, 2024
Dec 23, 2024
Jan 26, 2023
Nov 4, 2022
Dec 18, 2024
Dec 16, 2022
Dec 16, 2022
Jan 18, 2023
Nov 18, 2024
Nov 4, 2022
Dec 23, 2024
Nov 22, 2022
Nov 14, 2022
Nov 14, 2022
Jan 6, 2022
Dec 16, 2022
Nov 16, 2022
Jun 29, 2023
Dec 18, 2024
Dec 16, 2022
May 29, 2024
Nov 18, 2024
Dec 23, 2017
Nov 4, 2022
Nov 4, 2022
Nov 4, 2022
Jan 18, 2023
Nov 14, 2022
Jun 29, 2023
Dec 16, 2022
Nov 4, 2022
Nov 14, 2022
May 29, 2024
Dec 23, 2024
Mar 16, 2018
Nov 4, 2022
Nov 4, 2022
Nov 4, 2022
Nov 4, 2022
Nov 4, 2022
Nov 4, 2022
Jun 16, 2023
Nov 16, 2022
Dec 16, 2022
Aug 13, 2024
Nov 8, 2023
Dec 16, 2022
Jan 16, 2024
Jan 16, 2024
Nov 4, 2022
Dec 23, 2024
Dec 23, 2024
Aug 30, 2024
Dec 23, 2024
May 25, 2016
Sep 1, 2024
Jun 29, 2023
Jun 29, 2023
Nov 16, 2022
Mar 16, 2018
Oct 24, 2024
Dec 16, 2022
Dec 23, 2024
Jan 18, 2013
Aug 30, 2024
Nov 10, 2018
Mar 17, 2014
Mar 17, 2014
Mar 17, 2014
Mar 17, 2014
Dec 23, 2024
Dec 16, 2022
Nov 16, 2023
Nov 6, 2014
Oct 10, 2010
Aug 15, 2022
Aug 24, 2018
Jun 25, 2024
Dec 23, 2024
Nov 16, 2023
Jun 16, 2023
Jun 29, 2023
Sep 6, 2024
Sep 5, 2024
Dec 23, 2024
Sep 3, 2024
Mar 6, 2024
Jul 11, 2019
Apr 29, 2022
Sep 4, 2024
May 23, 2022
Sep 6, 2024
Jan 26, 2023
Jan 26, 2023
Mar 8, 2024
Dec 23, 2024
Oct 30, 2024
Aug 30, 2024
Nov 14, 2022
Nov 4, 2022
Jun 29, 2023
Mar 16, 2018
Mar 8, 2022
Dec 16, 2022
Nov 4, 2022
Jul 15, 2016

Repository files navigation

Mozilla JPEG Encoder Project Build Status

MozJPEG improves JPEG compression efficiency achieving higher visual quality and smaller file sizes at the same time. It is compatible with the JPEG standard, and the vast majority of the world's deployed JPEG decoders.

MozJPEG is a patch for libjpeg-turbo. Please send pull requests to libjpeg-turbo if the changes aren't specific to newly-added MozJPEG-only compression code. This project aims to keep differences with libjpeg-turbo minimal, so whenever possible, improvements and bug fixes should go there first.

MozJPEG is compatible with the libjpeg API and ABI. It is intended to be a drop-in replacement for libjpeg. MozJPEG is a strict superset of libjpeg-turbo's functionality. All MozJPEG's improvements can be disabled at run time, and in that case it behaves exactly like libjpeg-turbo.

MozJPEG is meant to be used as a library in graphics programs and image processing tools. We include a demo cjpeg command-line tool, but it's not intended for serious use. We encourage authors of graphics programs to use libjpeg's C API and link with MozJPEG library instead.

Features

  • Progressive encoding with "jpegrescan" optimization. It can be applied to any JPEG file (with jpegtran) to losslessly reduce file size.
  • Trellis quantization. When converting other formats to JPEG it maximizes quality/filesize ratio.
  • Comes with new quantization table presets, e.g. tuned for high-resolution displays.
  • Fully compatible with all web browsers.
  • Can be seamlessly integrated into any program that uses the industry-standard libjpeg API. There's no need to write any MozJPEG-specific integration code.

Releases

Compiling

See BUILDING. MozJPEG is built exactly the same way as libjpeg-turbo, so if you need additional help please consult libjpeg-turbo documentation.