embedblocks/jpeg-roi-decoder

0.3.0

Latest
uploaded 6 days ago
Region-of-interest JPEG decoder for ESP32. 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.

2 examples

  • esp32 2
    • sdcard
      Decodes a JPEG from an SD card, writing the raw RGB565 output to a file, demonstrating the `jpeg_decoder_decode_view` API.
      159.18 KB
    • uart
      This example decodes a JPEG from flash and streams it as RGB565 to a PC via UART, requiring no SD card. It utilizes a Python script to receive and save the image as PNG.
      159.70 KB