GitHub Hot Board

GitHub Hot Board · Repository archive

mozilla/mozjpeg

Improved JPEG encoder. (This description comes from the repository itself.)

Data at October 25mozilla

Best

#368

All-time · C facet

5.7K

Total stars

435

Total forks

0

Days on boards (30d)

Project statusLicense: NOASSERTIONLast push: June 23Open issues: 104

Collected since 2026-10-25; unknown = not yet harvested

Put your badge on the README · mozilla/mozjpeg[![Put your badge on the README](https://git.vaiox.xyz/api/badge/mozilla/mozjpeg.svg)](https://git.vaiox.xyz/en/repo/mozilla/mozjpeg)
<a href="https://git.vaiox.xyz/en/repo/mozilla/mozjpeg"><img src="https://git.vaiox.xyz/api/badge/mozilla/mozjpeg.svg" alt="Put your badge on the README" height="20"></a>

README

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.

Current rankings

Momentum, past 30 days

No leaderboard records in the last 30 days.

Similar projects · shared topics

← Back to boards