r/AskReverseEngineering • • Apr 19 '23

Help understanding an image format

I'm trying to decode some images for my Divoom Pixoo 64, a 64x64 pixel display, but can't seem to work out what the format is. I've created some sample files here: https://github.com/Grayda/pixoo64_example_images. The sample images I've provided are static, but the Pixoo 64 can handle animations too.

I've pulled apart the Divoom APK, looked through their documentation, ran adb logcat and parsed the logs, tried imagemagick, tried parsing the bytes, created my own GIFs and compared them, byte by byte, and even tried treating the data as base64 encoded data (which their API uses to send images to the device, more notes on that here) but no matter what, I can't work out what format the files are in. The files don't seem to have a consistent header, so there's no real magic bytes to speak of, and I can't see any recurring patterns that I'd expect (e.g. in the checkerboard image)

The Pixoo 64 is an ESP32-WROVER-IE based device, so I'd imagine the format needs to be simple enough decoded on an ESP board. I thought for a moment that they were LZO compressed, but that doesn't seem to be it.

I can provide more info / firmware files / APK URLs if anyone needs, but I'd appreciate any help I can get

6 Upvotes

17 comments sorted by

View all comments

Show parent comment

1

u/[deleted] Apr 02 '25

I know this is an old thread but, there is a Home Assistant integration and something called "Pixoo-64-Tools" that someone made recently. I wonder if there is a way to use these to point a newer Pixoo (without the TF slot) at a folder with either converted gifs or the raw .bin files.

That would future proof the new ones without a TF card and allow for things like packs of animations to be downloaded/backed up/transferred between devices.

Currently there is no way to backup and restore any saved animations you stored on the older TF models to the newer models without... I'm just learning this the hard way.