BRT Community

Please login or register.

Login with username, password and session length
Advanced search  

News:

Welcome to the Bridgetek Community!

Please read our Welcome Note

Technical Support enquires
please contact the team
@ Bridgetek Support

Please refer to our website for detailed information on all our products - Bridgetek - Bridging Technology

Author Topic: FT813 bin compression algorithm documented?  (Read 7193 times)

jberkhout

  • Newbie
  • *
  • Posts: 2
    • View Profile
FT813 bin compression algorithm documented?
« on: February 18, 2023, 01:38:13 PM »

I use an STM32F7 MCU, it can render bitmaps and store them on an SD card.
Then, if they exist, they can just be loaded, and don't need to be rendered again, which is quicker.
Though I can load them as uncompressed binary files only.
However I would like to compress them as the EVE Asset Builder can do, so I can load smaller files, even quicker.

Currently I would need to transfer them from the SD card to the computer, convert them, load them in Asset Builder, convert them into compressed bin format and then copy them back to the SD card.
It is quite cumbersome. If it could be compressed by the MCU that would be awesome.
What compression algorithm is used? Is it documented?

Any help would be very welcome.
Logged

Rudolph

  • Sr. Member
  • ****
  • Posts: 390
    • View Profile
Re: FT813 bin compression algorithm documented?
« Reply #1 on: February 21, 2023, 05:14:26 PM »

The "ASSET COMPRESSOR" in EAB says: "Compress asset by using Zlib or Zopfli library".
And the difference is that Zopfli is compressing better but eats more computrons doing so.
Logged

jberkhout

  • Newbie
  • *
  • Posts: 2
    • View Profile
Re: FT813 bin compression algorithm documented?
« Reply #2 on: April 17, 2023, 02:09:54 PM »

Hi Rudolph, thank you very much!
This helps a lot.
Logged