embedblocks/jpeg-roi-decoder

0.5.1

Latest
uploaded 4 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 a JPEG image over HTTPS without allocating a full-image buffer, sending pixel rows to a PC via UART.
      10.97 KB
    • ipcam
      This example streams JPEG decoding from an HTTP source to an ILI9486 LCD in landscape orientation, displaying images incrementally.
      8.75 KB
    • lcd
      Fetches a JPEG over HTTPS and renders it to an ILI9486 LCD in a single streaming pass without a full frame buffer.
      14.84 KB
    • sdcard
      Decodes a JPEG from an SD card and writes the raw RGB565 output to a file on the same card.
      159.18 KB
    • uart
      Decodes a JPEG embedded in flash and streams the raw RGB565 output to a PC over UART, requiring no external storage.
      159.78 KB