Smart resize for monochrome bitmaps - 项目摘要 |
摘要
| 管理 |
论坛 文档
| 软件包 |
|
|
|
项目描述: |
If we make a monochrome bitmap smaller by a simple pixel resampling the resulting image looks lousy (pic.2). The problem here is that we take a stand-alone pixel and disregard its surrounding. We can improve the picture a little bit by calculating the value of a pixel as the average of the pixels we disregard and then rounding this value to the nearest color.
小巧的单色的位图
如果我们通过少量像素创建一个单色位图,那么结果是这个位图看起来效果很差(pic.2)。这里的问题是我们只考虑这些图素而忽视它的环境。我们可以计算像素的值,然后得出我们所忽视的像素的平均值,然后通过这个值对最近的颜色进行圆化这种方法来使图片效果好一些。
来源: http://www.codeguru.com/bitmap/smartresize.shtml |
类别: |
|
发布者:
cbd002
|
|
最新发布源码包 |
软件包 |
版本号 |
日期 |
本地下载 |
smartresize |
 1.0  |
2004-04-19 |
下载 |
|
|