embedblocks/jpeg-roi-decoder

0.5.2

Latest
uploaded 17 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.

8 examples

  • async 5
    • https
      This example fetches a JPEG image over HTTPS and decodes it row by row without allocating a full-image buffer.
      8.74 KB
    • ipcam
      This example streams 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 without a full frame buffer.
      12.37 KB
    • sdcard
      Decodes a JPEG from an SD card and writes the raw RGB565 output to a file on the same card, demonstrating efficient streaming without a full-frame buffer.
      127.88 KB
    • uart
      Decodes a JPEG from flash and streams raw RGB565 output to a PC over UART without requiring an SD card.
      159.78 KB
  • sync 3
    • https
      Fetches a JPEG image over HTTPS, decoding it line by line without allocating full-image buffers.
      8.72 KB
    • ipcam
      This example demonstrates streaming JPEG decoding from an HTTP source onto an ILI9486-based LCD in landscape orientation.
      8.68 KB
    • lcd
      Fetches a JPEG over HTTPS and renders it to an ILI9486 320×480 LCD in a single streaming pass.
      12.31 KB