Elektrine lite

← Feed

@circfruit@fosstodon.org

Post #2532948

2026-05-02 15:06 UTC

@fast_code_r_us@floss.social I’m using this this lib: https://github.com/Bodmer/TJpg_Decoder and honestly, Claude did the C part for me :) What is S3 SIMD? I might check, although the camera module produces around 6kb jpegs and i don’t know what i can optimize more - the image comes kind of pixelated. Camera can produce better resolutions but because I intend to transfer those over LoRa i need small size, so quality is compromised a bit.

Replies (2)

  • @fast_code_r_us@floss.social 2026-05-02 15:12

    @circfruit@fosstodon.org Tjpg is functional, but much slower. Your device has the ESP32-S3 which has advanced CPU instructions which can accelerate certain tasks. I use them in my JPEG library to speed up decoding. For 6k images, speed is not that much of a concern.

    Open ##2532949

  • @fast_code_r_us@floss.social 2026-05-02 15:51

    @circfruit@fosstodon.org P.S. - Claude must be very confused to have recommended that library 🤪

    Open ##2532952