Single header lib for JPEG encoding. Public domain. C99. stb style.
Switch branches/tags
Nothing to show
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Failed to load latest commit information. Add readme Sep 25, 2015
tiny_jpeg.h style changes Mar 7, 2016


A header-only public domain implementation of Baseline JPEG compression.


  • stb-style header only library.
  • Does not do dynamic allocations
  • Simple API:
    • 2 API calls.
    • 3-value compression quality: 3 (best quality), 2 (Very good), 1 (Noticeable artifacts, best compression)
  • Public domain