PNG compression
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2023-09-14 8:17 AM
Hi,
i'm using the NUCLEO U575ZI-Q board I want to compress some data I collect from analog sensors via png encoding in order to take advantage of compression, how can I do it? Are there special libraries for that?
I don't need to have the .png file but just encode the data with png encoding.
Thanks You.
- Labels:
-
STM32Cube MCU Packages
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2023-09-14 10:10 AM
I'm sure there a graphics library, commercially, or whatever, that provide PNG format support. Find something and port it to the platform.
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
‎2023-09-14 1:51 PM - edited ‎2023-09-14 1:53 PM
EmWin has .png support as extension (available from Segger, IIRC free). It should work for the ST emWin branch too. IIRC quite complicated, and pulls in some [de]compression code under unclear license. Of course, the decompression needs extra RAM and execution time.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2023-09-15 2:57 AM
Thanks. It seems that STemWin is used when displays are present, I just need to encode the data in PNG format and then transmit it via LTE and I don't have a display. Also reading here https://www.st.com/en/embedded-software/stemwin.html it does not appear that the NUCLEO U575ZI-Q is supported. Can you confirm this for me? Are there any alternatives to encode data in PNG ?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2023-09-15 2:58 AM
Eh grazie ar cazzo
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2023-09-15 11:22 AM
@Rturo So you need to create .png images on stm32? On a rich host (PC, cloud) there are various libraries for converting images, even OpenCV
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2023-09-18 1:04 AM
Yes, I want to encode a png image on stm32, how can I do it?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2023-09-18 3:26 AM
Hmm... port any existing tool to bare metal ARM32? This will take a bit of research.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2023-09-18 4:03 AM
Actually the research here is very simple, can be summarized in one sentence. Segger can sell you everything you need, right now - but it will cost you (obviously).
