awesome-repositories.com
Blog
MCP
awesome-repositories.com

Discover the best open-source repositories with AI-powered search.

ExploreCurated searchesOpen-source alternativesSelf-hosted softwareBlogSitemap
ProjectMCP serverAboutHow we rankPress
LegalPrivacyTerms
© 2026 Bringes Technology SRL·VAT RO45896025·hello@awesome-repositories.com
mozilla avatar

mozilla/mozjpeg

0
View on GitHub↗

Mozjpeg

Mozjpeg is a high-performance C library for encoding, decoding, and transcoding JPEG images. It serves as a binary-compatible, drop-in replacement for standard JPEG libraries, maintaining existing function signatures to improve compression efficiency without requiring changes to application logic.

The library functions as an image optimizer that reduces file sizes through lossless progressive encoding and coefficient optimization. It utilizes trellis-based quantization and SIMD-accelerated processing to optimize the trade-off between visual quality and file size.

Its broader capabilities include comprehensive image encoding and decoding, color space conversion, and component downsampling. The architecture is designed to be reentrant and thread-safe, allowing for concurrent processing of multiple images. It also features specialized metadata management for handling large ICC color profiles via marker splitting.

AI search

Explore more awesome repositories

Describe what you need in plain English — the AI ranks thousands of curated open-source projects by relevance.

Start searching with AI

Features

  • JPEG Image Compression - Provides high-efficiency JPEG image compression using advanced quantization and optimization techniques.
  • Binary Interface Compatibility - Maintains binary interface compatibility with standard JPEG libraries to ensure a seamless drop-in replacement experience.
  • Huffman Table Optimizations - Generates optimized encoding tables based on symbol frequency to maximize compression efficiency and minimize data stream size.
  • Color Space Transformations - Provides optimized transformations between color models including RGB, YCbCr, and CMYK.
  • Discrete Cosine Transforms - The library translates entropy-coded coefficients back into image samples to reconstruct lossy images for viewing and editing.
  • JPEG Format Decoders - Reads compressed JPEG files and converts them back into uncompressed pixel data for display or editing.
  • Arithmetic Entropy Encoding - Uses probability estimation tables for arithmetic entropy encoding to achieve higher compression efficiency than standard methods.
  • Image Format Conversion - Supports transforming images between multiple formats such as JPEG, PNG, BMP, and GIF.
  • Integer-Based DCT Transforms - Converts image samples into frequency coefficients using integer approximations to avoid floating-point arithmetic overhead.
  • JPEG Encoder Implementations - Provides a high-efficiency C library for encoding, decoding, and transcoding JPEG images.
  • Lossless File Optimizations - Reduces the size of existing JPEG files through lossless progressive encoding and coefficient optimization.
  • High-Performance Image - Offers high-performance processing of color space transformations, downsampling, and quantization for precise image output.
  • Quantization Table Optimizations - Utilizes specialized quantization tables to balance visual quality and compression levels based on display resolution.
  • Quality-to-Size Optimizers - Uses trellis-based quantization to select optimal coefficients for the best possible trade-off between quality and size.
  • SIMD-Accelerated Encoders - Utilizes SIMD processor instructions to accelerate computationally intensive JPEG compression and decompression tasks.
  • API Integrations - Integrates with existing image encoding workflows to improve compression ratios without requiring changes to application logic.
  • Compression Library Integrations - Acts as a high-performance alternative to standard compression libraries that can be swapped without altering application logic.
  • Huffman Decoding - Translates bitstreams into symbols using Huffman tables to accurately reconstruct compressed image data.
  • Standard API Emulations - Implements a compatibility layer that mimics standard JPEG library binary interfaces for seamless drop-in replacement.
  • Standard Library Replacements - Functions as a high-performance, drop-in replacement for standard JPEG libraries.
  • Lossless Optimization - Optimizes existing JPEG files using progressive encoding and rescan techniques to reduce size without losing image data.
  • Concurrent Image Processing - Supports concurrent JPEG operations across multiple images using thread-safe execution patterns.
  • Arithmetic Coding - Utilizes arithmetic coding with probability estimation tables to achieve higher compression density than standard Huffman encoding.
  • Lossless Progressive Optimizers - Reduces the file size of existing JPEG images through lossless progressive encoding and coefficient optimization.
  • Progressive Image Decoders - Decodes progressive JPEG images with support for interrupted data stream recovery.
  • Progressive Image Encoding - Implements progressive JPEG encoding to improve perceived loading times on slow network connections.
  • Reentrant Function Design - Employs reentrant function design to allow multiple images to be processed concurrently without state conflicts.
  • Thread-Safe Processing States - Implements state-independent processing patterns to ensure thread-safe concurrent compression and decompression of multiple images.
  • ICC Profile Extractors - Embeds and extracts large ICC color profiles by splitting metadata across multiple image markers.
  • Asset Optimization - Provides an improved JPEG encoding library.
  • Graphics and Multimedia - Improved encoder for high-quality JPEG images.
  • Image Processing - Optimized JPEG encoder for improved compression.
  • Media and Communication - Advanced JPEG compression library for web optimization.
  • Windows Environments - Listed in the “Windows Environments” section of the Awesome C awesome list.
5,745 stars·438 forks·C·49 views

Star history

Star history chart for mozilla/mozjpegStar history chart for mozilla/mozjpeg

How this analysis was created: This summary and feature list are AI-generated from collected project material and can contain mistakes. Stars, license and language are imported from GitHub. Inclusion does not mean that we have tested or audited this project. Check the source documentation for any feature you depend on. Learn more on our About page.

Frequently asked questions

What does mozilla/mozjpeg do?

Mozjpeg is a high-performance C library for encoding, decoding, and transcoding JPEG images. It serves as a binary-compatible, drop-in replacement for standard JPEG libraries, maintaining existing function signatures to improve compression efficiency without requiring changes to application logic.

What are the main features of mozilla/mozjpeg?

The main features of mozilla/mozjpeg are: JPEG Image Compression, Binary Interface Compatibility, Huffman Table Optimizations, Color Space Transformations, Discrete Cosine Transforms, JPEG Format Decoders, Arithmetic Entropy Encoding, Image Format Conversion.

Which projects share features with mozilla/mozjpeg?

Projects with overlapping indexed features include: libjpeg-turbo/libjpeg-turbo — libjpeg-turbo is a high-performance image codec library used for encoding and decoding JPEG images. It serves as a… dropbox/lepton — Lepton is a specialized tool and file format designed for the lossless compression and efficient storage of JPEG image… flif-hub/flif — FLIF is a lossless image format and compression tool designed for high fidelity image archiving. It reduces file sizes… phoboslab/qoi — QOI is a lossless image codec and encoding standard designed for high-speed compression and decompression of raw pixel… pistondevelopers/image — This project is an image processing library designed for manipulating pixel data, applying visual filters, and… dlemstra/magick.net — Magick.NET is a C# image processing library that serves as a .NET wrapper for ImageMagick. It provides a raster…

Projects sharing features with Mozjpeg

These projects share indexed features with Mozjpeg. Shared tags can include platform or build tooling; verify the primary use case before treating a result as a replacement.
  • libjpeg-turbo/libjpeg-turbolibjpeg-turbo avatar

    libjpeg-turbo/libjpeg-turbo

    4,329View on GitHub↗

    libjpeg-turbo is a high-performance image codec library used for encoding and decoding JPEG images. It serves as a compression library for converting raw image data into JPEG format and as a utility for transforming pixel data between different color models and buffer formats. The library utilizes SIMD instructions to accelerate the encoding and decoding process. It includes a lossless transformer that allows for cropping and resizing of JPEG data without re-encoding pixels to preserve image quality. Its broader capabilities cover image scaling during the compression process and high-perform

    C
    View on GitHub↗4,329
  • dropbox/leptondropbox avatar

    dropbox/lepton

    4,997View on GitHub↗

    Lepton is a specialized tool and file format designed for the lossless compression and efficient storage of JPEG image data. It functions as a lossless compressor and storage optimizer that reduces file sizes without altering original pixel data, ensuring bit-perfect reconstruction of the images. The project focuses on reducing disk space and network bandwidth requirements for digital image archives. It provides capabilities for both the compression and decompression of JPEG files to maintain high-quality image storage while minimizing the overall data footprint. The implementation utilizes

    C++compressioncompression-algorithmdecompression
    View on GitHub↗4,997
  • flif-hub/flifFLIF-hub avatar

    FLIF-hub/FLIF

    3,746View on GitHub↗

    FLIF is a lossless image format and compression tool designed for high fidelity image archiving. It reduces file sizes by using arithmetic entropy coding to assign shorter bit-sequences to frequent pixel patterns, ensuring zero data loss during the compression and decompression process. The system includes a progressive image decoder that renders low-resolution previews while the full bitstream continues to load. This allows for the display of image approximations before the entire file is downloaded. The toolset covers the full lifecycle of lossless image management, including image compres

    C++decoderencoderflif
    View on GitHub↗3,746
  • phoboslab/qoiphoboslab avatar

    phoboslab/qoi

    7,492View on GitHub↗

    QOI is a lossless image codec and encoding standard designed for high-speed compression and decompression of raw pixel data. It provides a toolkit for translating raw image buffers into a compact format and back into pixel representations without any loss of quality. The implementation focuses on fast image encoding and decoding, enabling the rapid conversion of compressed image data back into raw pixels. It also supports image format conversion to ensure compatibility across different software systems and hardware.

    C
    View on GitHub↗7,492
  • Compare all 30 related projects→