xuefengedu / pxt-img-py

python tool for Img2Lcd.exe data to merge 3 RGB hex into 1 hex

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Usage for Img2Lcd.exe data to merge 3 RGB hex into 1 hex

c:\pxt-image-py>C:\Python37\python test.py -i dt.c -o output.txt
c:\pxt-image-py
0x6c99f0,
0x407aee,
0x5185ef,
0x6590f0,
0xa3bef2,
0x4f6c99,
0xf0407a,
0xee5185,
0xef6590,
0xf0a3be,
0xf24f6c,
0x99f040,
0x7aee51,
0x85ef65,
0x90f0a3,
0xbef24f,

Input file is :dt.c
Output file is :output.txt

About

python tool for Img2Lcd.exe data to merge 3 RGB hex into 1 hex

License:MIT License


Languages

Language:C 97.1%Language:Python 2.7%Language:Batchfile 0.2%