bitbank2 / JPEGDEC

An optimized JPEG decoder for Arduino
Apache License 2.0
366 stars 47 forks source link

Is it possible to re-encode a smaller version of an image? #16

Closed ambanmba closed 3 years ago

ambanmba commented 3 years ago

In my use case I'd like to send a smaller version of a particular image (it can be 300-400k). This file is sitting in SPIFFS and currently I send the whole image which takes about 30 seconds. I'd like to send a much smaller version.

bitbank2 commented 3 years ago

I wasn't planning on making an Arduino JPEG encoder because it requires even more RAM and will limit which MCUs can use it.

bitbank2 commented 2 years ago

I am nearly finished writing a JPEG encoder and it uses very little RAM and is quite fast. I will probably have something ready to test later this week.