Skip to content

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

Notifications You must be signed in to change notification settings

StackYuan/TinyJPEG

This branch is 2 commits ahead of, 2 commits behind serge-rgb/TinyJPEG:master.

Repository files navigation

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

About

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

Resources

Stars

Watchers

Forks

Packages

No packages published

Languages

  • C 99.5%
  • Python 0.5%