2026-04-10 3:41 AM - last edited on 2026-04-15 3:32 AM by FBL
Config:
stm32h743iiT6
SDRAM 32mb model w9825g6kh
FLASH 32mb QSPI 1 bank 4 lines w25q256jv2
Screen 7 inch 24bit rgb888
I am really stuck on stm32 jpeg hardware vs libjpeg working
1 Decoding 1024x600 stored in qspi flash with jpeg harware
stuck with the jpeg markers
=== FINDING JPEG IN QSPI === Found JPEG at offset 0x069000 (address 0x90069000) :triangular_ruler: Found SOF0 at offset 484: 160x94 Dimensions: 160 x 94 Found JPEG at offset 0x089000 (address 0x90089000) :triangular_ruler: Found SOF0 at offset 552: 160x93 Dimensions: 160 x 93
the image is really 1024x600 stored has standard in photoshop to avoid progressive stuff....
Offset 7252: SOI (start) - Offset 7418: SOF for 160x94 thumbnail - Offset 11289: EOI for thumbnail - Offset 15044: SOF for 1024x600 main image ← Your real image! - Offset ???: EOI for main image
Is there any body witch have faced those problems to hardware jpeg decode can you share your experience .....
2026-04-13 6:36 AM
Hello @KNaim.1,
I recommend trying the JPEG examples in STM32CubeH7 for the STM32H743I-EVAL board: Link(here)
they should help guide you in your application and provide a solid reference for both hardware JPEG decoding and image handling from external memory.
I hope my answer has helped you. When your question is answered, please select this topic as the solution that answered you, as it will help others find that answer faster.
Thanks for your contribution.
Dor_RH