2021-03-26 09:09 AM
I have a JPEG image, is there any way to store jpeg image in the internal flash of STM32?
And how to read the image?
2021-03-26 09:15 AM
rename to bin use bin2header file and add as const array to project. You can read as any other array.
But image decoding need lib code. Some graphics software can store as .h or .c file
2021-03-26 10:51 AM
As a byte array, with a pointer? Or via the array / sizeof(array) to the function processing the data.
2021-03-26 12:06 PM
Thanks. I am clear with storing the image as a const array using header file.
But not sure how exactly to decode it in JPEG format to read it? Which library to use to decode JPEG image?
2021-03-26 12:11 PM
2021-03-26 12:29 PM
JPEG can be handled with or without hardware accelerating, you need use LIBJPEG . (Part in CubeMX)
2023-03-08 02:18 AM
May i know how to use libjpeg . As i am working on send an image data from stm32f407zgt6 to phone through bluetooth can you please help me ...