Link Search Menu Expand Document



Tiny JPEG Encoder

  • Sergio Gonzalez

This is a readable and simple single-header JPEG encoder.


  • Implements Baseline DCT JPEG compression.
  • No dynamic allocations.

This library is coded in the spirit of the stb libraries and mostly follows the stb guidelines.

It is written in C99. And depends on the C standard library. Works with C++11

==== Thanks ====

AssociationSirius (Bug reports) Bernard van Gastel (Thread-safe defaults, BSD compilation)

==== License ====

This software is in the public domain. Where that dedication is not recognized, you are granted a perpetual, irrevocable license to copy and modify this file as you see fit.