发信人: dntx.bbs@bbs.whu.edu.cn (冬鸟听雪), 信区: ASCIIArt
标 题: 色块图转换工具 Bmp2Ascii 0.1 版
发信站: 珞珈山水 (Sat Apr 20 02:21:15 2002)
软件名称: bmp2ascii
软件功能: 将bmp图象转换为asciiart,支持颜色及双字节字符
版本号: 0.1 版
作者: dntx@bbs.zixia.net (email: dntx@sina.com)
版权所有 (C) 2002
下载地址:http://bbs.nju.edu.cn/cgi-bin/bbs/bbsfdoc?board=ASCIIArt
用法简介:
1. 打开一幅欲转换的bmp图象
2. 调整好颜色、字符集、比例等参数后,按go按钮进行转换
3. 转换后可点击"原始图""格线图""ascii图"进行效果浏览
4. 转换后在程序目录下自动生成ascii.bmp与ascii.ans两个文件
5. ascii.bmp是转换后的效果图,可在此基础上用paint等再加工后
再作为程序的输入进行二次转换,通常可以获得更好的转换效果
6. ascii.ans是转换结果文件,可以将其内容拷贝后发表到bbs上,
也可用ansieditor、大萝卜等软件打开进行进一步编辑加工
7. 参数说明:
16个颜色方块表示转换中所用的颜色,颜色选择越多,转换速度越慢
x-rate, y-rate: 图象比例
dx, dy: 图象偏移
8. 字符集说明:
系统预定了如下的4套字符集用于转换
单字节字符:转换过程中只使用abcd,../?之类的单字节字符,
此时若只选高亮色的话,可得到类似bmp2txt之类的效果
三角形字符:转换过程中主要使用三角块◢◣◤◥
色块字符: 转换过程中除使用三角块外,还使用█▉▊▁▂▃▅等常见色块
更多色块: 转换过各中除使用常用色块外,还使用▲▼◆等色块
用户也可自行设定所用字符,当然,设定的字符越多,转换速度越慢。
注意事项:
1. 本软件目前的功能还不太强,仅对形状与色彩较简单的图象有较好的效果
因此转换前最好先对图象进行一定的简化处理
2. 本软件是作为制作asciiart的辅助工具目的编写的。
实际制作中各项参数需要精心调制才能得到一个较好的雏形,
并在此雏形的基础上进一步加工方可成较好的作品。
3. 由于bbs上背景多为黑底白字,而通常的图象则是白底黑字,
请注意在转换前做一定的反色处理或将原图象的背景也设为黑色
4. 一个单字节字符对应bmp图上的7象素*14象素,
一个双字节字符对应bmp图上的14象素*14象素
5. 软件初成,相信有很多bug。
使用中若碰到问题,或对本软件有意见或建议,
请至全国转信新闻组cn.bbs.literal.ascii-art发言,亦可致信 dntx@sina.com。
Sender: dntx.bbs@bbs.whu.edu.cn Winter birds listen to the snow, message area: ASCIIArt
Title: Color block diagram conversion tool Bmp2Ascii version 0.1
Sending station: Luojia Landscape Sat Apr 20 02:21:15 2002
Software name: bmp2ascii
Software functions: Convert bmp images to asciiart, support colors and double-byte characters
Version number: Version 0.1
Author: dntx@bbs.zixia.net email: dntx@sina.com
Copyright C 2002
Download address http: bbs.nju.edu.cn cgi bin bbs bbsfdoc?board ASCIIArt
Usage introduction
1. Open a bmp image to be converted
2. After adjusting the color, character set, proportion and other parameters, press the go button to convert.
3. After conversion, you can click "Original Picture", "Grid Picture" and "ASCII Picture" to browse the effects.
4. After conversion, two files, ascii.bmp and ascii.ans, are automatically generated in the program directory.
5. ascii.bmp is the converted rendering, which can be reprocessed with paint, etc.
Then used as input to the program for secondary conversion, usually better conversion results can be achieved.
6. ascii.ans is the conversion result file. You can copy its content and publish it on bbs.
You can also use ansieditor, Daluobo and other software to open it for further editing and processing.
7. Parameter description:
The 16 color squares represent the colors used in the conversion. The more color choices, the slower the conversion speed.
x rate, y rate: image ratio
dx, dy: image offset
8. Character set description
The system has reserved the following 4 character sets for conversion
Single-byte characters Only single-byte characters such as abcd,..? are used during the conversion process
If you only select the highlight color at this time, you can get an effect similar to bmp2txt.
Triangular characters mainly use triangular blocks in the conversion process
In the conversion process of color block characters, in addition to using triangle blocks, common color blocks such as
More color blocks. In addition to using common color blocks, each converted color block also uses equal color blocks.
Users can also set the characters themselves. Of course, the more characters you set, the slower the conversion speed will be.
Precautions:
1. The current function of this software is not very strong and it only has good effects on images with simple shapes and colors.
Therefore, it is best to simplify the image before conversion.
2. This software is written as an auxiliary tool for making asciiart.
In actual production, various parameters need to be carefully adjusted to obtain a better prototype.
And on the basis of this prototype, we can further process it into a better work.
3. Because the background on bbs is mostly black with white characters, while the usual images are with black characters on a white background.
Please make sure to do some inversion processing or set the background of the original image to black before conversion.
4. A single-byte character corresponds to 7 pixels * 14 pixels on the bmp image
A double-byte character corresponds to 14 pixels * 14 pixels on the bmp image
5. The software is in its infancy and I believe there are many bugs.
If you encounter problems during use or have comments or suggestions about this software
Please go to the national forwarding news group cn.bbs.literal.ascii art to speak or write to dntx@sina.com