mozjpeg

Improved JPEG encoder.

Github 星跟踪图

Mozilla JPEG Encoder Project Build Status

MozJPEG reduces file sizes of JPEG images while retaining quality and compatibility with the vast majority of the world's deployed decoders.

MozJPEG is based on 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.

It's compatible with libjpeg API and ABI, and can be used as a drop-in replacement for libjpeg. MozJPEG makes tradeoffs that are intended to benefit Web use cases and focuses solely on improving encoding, so it's best used as part of a Web encoding workflow.

MozJPEG is meant to be used as a library in graphics programs and image processing tools. We include a demo cjpeg tool, but it's not intended for serious use. We encourage authors of graphics programs to use MozJPEG's C API 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 using libjpeg.

Releases

Compiling

See BUILDING.

项目概况

主要编程语言C
编程语言CMake
许可证Other
最新版本名称v4.0.3
第一版名称jpeg-1
最后发布时间2021-02-25 22:09:24
首次发布1991-10-07 00:00:00
最后一次提交2022-05-23 16:06:07
创建于2014-01-12T06:25:02
推送于2022-05-23T15:06:21
提交数4.3k
关注者数174
名称与所有者mozilla/mozjpeg
派生数409
星数4.9k
问题数300
打开的问题数87
发布数63
语言数12
拉请求数82
打开的拉请求数1
关闭的拉请求数28
已启用问题?
已启用Wiki?
已存档?
是分叉?
已锁定?
是镜像?
是私有?
To the top