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 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. Progressive encoding with "jpegrescan" optimization. It can be applied to any JPEG file (with jpegtran) to losslessly reduce file size.

Features

  • MozJPEG is a patch for libjpeg-turbo
  • This project aims to keep differences with libjpeg-turbo minimal
  • 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

Project Samples

Project Activity

See All Activity >

License

BSD License

Follow Mozilla JPEG Encoder Project

Mozilla JPEG Encoder Project Web Site

You Might Also Like
MongoDB Atlas runs apps anywhere Icon
MongoDB Atlas runs apps anywhere

Deploy in 115+ regions with the modern database for every enterprise.

MongoDB Atlas gives you the freedom to build and run modern applications anywhere—across AWS, Azure, and Google Cloud. With global availability in over 115 regions, Atlas lets you deploy close to your users, meet compliance needs, and scale with confidence across any geography.
Start Free
Rate This Project
Login To Rate This Project

User Ratings

★★★★★
★★★★
★★★
★★
1
0
0
0
0
ease 1 of 5 2 of 5 3 of 5 4 of 5 5 of 5 4 / 5
features 1 of 5 2 of 5 3 of 5 4 of 5 5 of 5 5 / 5
design 1 of 5 2 of 5 3 of 5 4 of 5 5 of 5 4 / 5
support 1 of 5 2 of 5 3 of 5 4 of 5 5 of 5 5 / 5

User Reviews

  • Great job! Essentially I have to mention a jpeg-rescan feature that can reduce an already encoded jpeg file in size.
Read more reviews >

Additional Project Details

Operating Systems

Android, Windows

Programming Language

C

Related Categories

C Data Formats Software, C Image Recognition Software, C Command Line Tools, C Image Processing Software, C Image Processing Libraries

Registered

2021-11-19