/TinyJPEG

Single header lib for JPEG encoding. Public domain. C99. stb style.

Primary LanguageC

tiny_jpeg.h

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

Features:

  • 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