Replies: 5 comments
-
Beta Was this translation helpful? Give feedback.
-
Seems to be technically challenging, there is very interesting and recent talk about this topic: https://m.youtube.com/watch?v=Msfn0Qn_AgI |
Beta Was this translation helpful? Give feedback.
-
Have you looked at this? If the files are data, probably your best option is to write binary files with the smallest or most compact data type available for each data type. |
Beta Was this translation helpful? Give feedback.
-
There is WIP support for adding zlib/gzip compression (to match the existing decompression support), hopefully this will be finished after 1.20 is released. |
Beta Was this translation helpful? Give feedback.
-
There is now pretty good support for deflate/zlib style compression, including streaming. See the deflate module, https://docs.micropython.org/en/latest/library/deflate.html#deflate.DeflateIO If one wants to use ZIP archive files, there is https://github.com/jonnor/micropython-zipfile |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
-
Hello
I've build web server on ESP32 microcontroller and would like to add availability to make backups of particular files.
What are my options to compress files from micropython??
So far I'm just able to find decompression functionality, but not compression...
Beta Was this translation helpful? Give feedback.
All reactions