联盟首页 协同开发 共创软件 开放源码 软件工程 共创论坛 关于联盟
  您的位置 » 开放源码库【成熟 - 项目摘要 首页 | 分类源码 | 提交源码 | 下载统计 | 原创源码 | 成熟源码 | 代码片断
 
 Smart resize for monochrome bitmaps - 项目摘要
摘要 | 管理 | 论坛
文档 | 软件包

源码库中源码数量为19221
有贡献人员名单:

-= 更多 =-
  • ffdshow
  • jasperreports
  • PoolMan
  • Air Traffic Controller
  • virtualdub-win
  • CppUnit
  • Apache-SSL-Jserv
  • FCK editor
  • Async Professional
  • GLgraph
  • -= 更多 =-

    项目描述:
    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 下载

    原始下载连接(国外) http://www.codeguru.com/code/legacy/bitmap/smartresize.zip

      » 合 作 伙 伴