How to store jpeg image in Flash memory of STM32?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2021-03-26 9: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?
- Labels:
-
JPEG
-
STM32CubeIDE
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2021-03-26 9: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
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎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.
Up vote any posts that you find helpful, it shows what's working..
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎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?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2021-03-26 12:11 PM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2021-03-26 12:29 PM
JPEG can be handled with or without hardware accelerating, you need use LIBJPEG . (Part in CubeMX)
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2023-03-08 2: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 ...
