Tool to process DWIN LCD display .ICO files. This is the C# .NET version of the original by Brent Burton [@b-pub].
DWIN LCD displays use a number of image and container files to skin the UI elements on the display. These displays are used on Creality's Ender 3 v2 and other 3d printers, and the configuration files to support these displays is included in the Marlin firmware.
One file they use is "9.ICO", which is a structured file containing the icons.
There are two ways at the moment:
- Drag and drop the "9.ICO" to the executable file
- Or pass the file ("9.ICO") as an argument in the command line
A "out" folder will be created with all the images in the form of INDEX_NAME.jpg
See the dwin.h file from Marlin for their indices and names.
Same as extracting the images:
- Drag and drop the "out" folder to the executable file
- Or pass the folder ("out") as an argument in the command line
An "out.ICO" file will be created.
Using powershell:
-
Assuming 9.ico is the file:
.\DwinIcoTool.exe 9.ico
-
Assuming "out" is the folder containing all the images:
.\DwinIcoTool.exe out
- .NET Framework 4
This should work on Windows 10 out of the box (Tested on Windows Sandbox).
I tested this with the 9.ICO file from Marlin configuration examples for the Creality Ender 3 V2. Extracting the images and redoing the .ico file without modifying produces the same file as the original.
I DID NOT TEST FLASHING A MODIFIED ONE.
The original tools were created by:
- Brent Burton [@b-pub]
dwin-ico-tools is published under the GPL 3 license. See the LICENSE file for details. DwinIcoTool uses the same as this is a fork.