embedblocks/jpeg-roi-decoder

0.5.3

Latest
uploaded 1 day 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
      Fetches a JPEG image over HTTPS and decodes it without allocating a full-image buffer, sending completed pixels to a PC line by line.
      8.74 KB
    • ipcam
      This example demonstrates streaming JPEG decoding from an HTTP source onto an ILI9486-based LCD in landscape orientation.
      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.
      12.33 KB
    • sdcard
      This project decodes a JPEG from an SD card and writes the raw RGB565 output to a file, utilizing streaming for memory efficiency without a full-frame buffer.
      127.88 KB
    • uart
      Decodes a JPEG from flash memory and streams RGB565 output to a PC over UART, saving it as a PNG.
      159.78 KB
  • sync 3
    • https
      This example fetches a JPEG image over HTTPS, decodes it row by row, and sends it to a host PC via UART.
      8.72 KB
    • ipcam
      This example demonstrates streaming JPEG decoding from an HTTP source onto an ILI9486-based LCD in landscape orientation.
      8.64 KB
    • lcd
      Fetches a JPEG over HTTPS and renders it to an ILI9486 LCD without needing a full frame buffer.
      12.27 KB