embedblocks/jpeg-roi-decoder

0.5.0

Latest
uploaded 2 hours ago
Streaming region-of-interest JPEG decoder for ESP32 based on tjpgd. Stream JPEG data in from any source, stream decoded pixel rows out to your callback — without loading the full image into RAM, without a seekable source, without a full-frame output buffer. Stream in from a file, a flash blob, an HTTP response body, a UART byte stream, a FreeRTOS queue, a TCP socket, or a DMA ring buffer. If you can hand bytes to a callback, you can decode a JPEG.

5 examples

  • esp32 5
    • https
      This example fetches and decodes JPEG images over HTTPS, streaming pixel rows directly to a PC via UART without using a full-image buffer.
      10.97 KB
    • ipcam
      This example demonstrates streaming JPEG decoding from an HTTP source onto an ILI9486-based LCD in landscape orientation.
      8.79 KB
    • lcd
      Fetches a JPEG over HTTPS and renders it to an ILI9486 LCD in a single streaming pass.
      14.88 KB
    • sdcard
      This example decodes a JPEG from an SD card and outputs raw RGB565 data directly to a file without needing a full-frame buffer.
      159.18 KB
    • uart
      Decodes a JPEG from flash and streams raw RGB565 output to a PC via UART, with no SD card or filesystem needed.
      159.78 KB