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.

概覽

名稱與所有者mozilla/mozjpeg
主編程語言C
編程語言CMake (語言數: 11)
平台
許可證Other
發布數68
最新版本名稱v4.1.5 (發布於 2023-10-12 17:53:30)
第一版名稱jpeg-1 (發布於 1991-10-07 00:00:00)
創建於2014-01-12 06:25:02
推送於2023-12-15 01:10:12
最后一次提交2023-10-12 17:52:31
星數5.4k
關注者數167
派生數411
提交數4.4k
已啟用問題?
問題數320
打開的問題數93
拉請求數83
打開的拉請求數2
關閉的拉請求數29
已啟用Wiki?
已存檔?
是復刻?
已鎖定?
是鏡像?
是私有?
去到頂部