MKS-TFT are a series of touchscreens used by 3d printers.
The interface icons / pictures can be changed by loading .bin files from an sd-card.
The .bin files contain picture data.
The firmware used by MKS-TFT is partially open source.
Unfortunately, the picture implementation is non-free / proprietary.
In this project I’ll try to reverse engineer the .bin format and implement a simple commandline picture converter.
(1) Reverse engineer the .bin format:
- Procure sample .bin files (note: make sure they are open source / free, so that we don’t violate anything)
- Analyze the .bin file:
- Picture data, raw or compressed? (note: Because MKS-TFT is an embedded system, the pixel data is probably stored in some RAW format.)
- If anything fails, abandon ship and pick a new project.
(2) Implement a simple picture converter from some standard picture format:
- Depending on the .bin format, pick:
- license(s), language
- picture format & library (unless I write my own parser/writer)
- Github page, main and build
- picture read & write
- bin read & write
- commandline parameters