bmp2bin.txt
来自「FreeScale DragonBall SZ LCD driver sampl」· 文本 代码 · 共 19 行
TXT
19 行
Version: 4.0 Beta
Function: Convert Color BMP File to binary file for MC68VZ328
and DBx.
Usage: bmp2bin <infile> <outfile> <num of bits per pixel> <rgb>
<infile> - input BMP file name (e.g hello.bmp)
<outfile> - output binary file name
<num of bits per pixel>
2 for 2-bit per pixel (4-gray scale)
3 for 3-bit per pixel (8-color)
6 for 6-bit per pixel (64-color)
c for 12-bit per pixel (4096-color)
m for 12-bit per pixel (4096-color)
with 4 zero appended at each pixel
g for 16-bit per pixel (5-6-5)
<rgb> - rgb order
rgb for red, green then blue
bgr for blue, green then red
...
⌨️ 快捷键说明
复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?