Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Latest jpegdec library to support progressive JPEGs #4

Open
id-b3 opened this issue Jan 23, 2025 · 3 comments
Open

Latest jpegdec library to support progressive JPEGs #4

id-b3 opened this issue Jan 23, 2025 · 3 comments

Comments

@id-b3
Copy link

id-b3 commented Jan 23, 2025

Hi, is it possible to get a release with the latest jpegdec library which has support for progressive JPEGs?
I'm trying to link the frame to a photoprism API which only returns images with progressive JPEG format.

Thanks in advance!

@Gadgetoid
Copy link
Member

I made an attempt a while back but it blew up our builds 🫠 - pimoroni/pimoroni-pico#948

Might have another shot tomorrow, it’s a reasonable Friday project and it looks like @bitbank2 added that crop feature, too!

As an aside - if anyone happens upon this issue with spare change burning a hole in their pocket then please support JPEGDEC and PNGDEC development here: https://github.com/sponsors/bitbank2/

@bitbank2
Copy link

FYI The progressive JPEG support is currently only for thumbnail images of progressive files (1/8th in each dimension). This is because progressive requires a ton of RAM compared to baseline. The only way to decode full sized progressive images would either be if they are really tiny or you have an ESP32 with PSRAM. Just saying...

@Gadgetoid
Copy link
Member

an ESP32 with PSRAM

Or an RP2350 with PSRAM? 😆

The larger Inky display does have PSRAM but it's used as a display backbuffer and isn't wired up in any useful way. Decoding would probably be possible but definitely not fast and certainly very painful to get up and running.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants