我试图使用这个图像转换工具,但这个例子对我来说太模糊了。实用程序在这里:Image convertor
在这个zip文件夹中是python文件bmpcf.py公司当我打开这个文件,我得到下面的消息。我假设我要像示例一样在终端窗口中键入,但是我可以得到语法。(给出的示例似乎没有任何bmp文件的引用??)我要转换的测试bmp文件名为35x35.bmp我需要把它或这个python脚本放在特定的位置吗?我尝试了几个不同的地方,并尝试使用完整的路径,但无法找到它。非常感谢。你知道吗
这是单击bmpcf.py公司文件:
Last login: Mon Nov 16 08:13:56 on ttys001
cd '/Users/myname/Downloads/bv4612_image_convert/' && '/usr/local/bin/pythonw' '/Users/myname/Downloads/bv4612_image_convert/bmpcf.py' && echo Exit status: $? && exit 1
myname-MacBook-Air:~ myname$ cd '/Users/myname/Downloads/bv4612_image_convert/' && '/usr/local/bin/pythonw' '/Users/myname/Downloads/bv4612_image_convert/bmpcf.py' && echo Exit status: $? && exit 1
Conversion utility for 128x64 type graphic display
Converts a bmp file into verical 8 bit lines for
applying to the display pages
Use <filename> <hex/bin> <format>
filename is the full file name including bmp
hex is 1 for hex or 0 for decimal
format b for use with ByPic (.bas)
c for use with C/C++ (.h)
t text fomat (.txt)
i binary format (.bin)
output will be a text file
Example python.py bmpcf.py 1 b
Exit status: 0
logout
Saving session...
...copying shared history...
...saving history...truncating history files...
...completed.
[Process completed]
目前没有回答
相关问题 更多 >
编程相关推荐