首页 开发技术 C++     /    真彩24位转256色(解决对齐问题)

真彩24位转256色(解决对齐问题)

上传者: qq_15947787 | 上传时间:2024/7/23 14:34:53 | 文件大小:1.91MB | 文件类型:rar
真彩24位转256色(解决对齐问题)
网上大部分的转换代码都没有考虑对齐问题,好不容易找到这个,没有问题。
但是在批量处理图片时,需要修改两个地方 intusedTimes[4096]={0};//12b intminiColor[4096];要改new出来,并把usedTimes初始化在Transfer函数的最后要delete[]usedTimes和delete[]miniColor,不然的话,批量处理堆栈会溢出。

文件下载

资源详情

[{"title":"(19个子文件1.91MB)真彩24位转256色(解决对齐问题)","children":[{"title":"真彩24位转256色","children":[{"title":"testout.bmp <span style='color:#111;'>1.54KB</span>","children":null,"spread":false},{"title":"Debug","children":[{"title":"vc60.pdb <span style='color:#111;'>76.00KB</span>","children":null,"spread":false},{"title":"BMP_ReadWrite.ilk <span style='color:#111;'>202.86KB</span>","children":null,"spread":false},{"title":"BMP_ReadWrite.pdb <span style='color:#111;'>489.00KB</span>","children":null,"spread":false},{"title":"BMP_ReadWrite.exe <span style='color:#111;'>172.11KB</span>","children":null,"spread":false},{"title":"vc60.idb <span style='color:#111;'>129.00KB</span>","children":null,"spread":false},{"title":"BMP_ReadWrite.sbr <span style='color:#111;'>0B</span>","children":null,"spread":false},{"title":"BMP_ReadWrite.bsc <span style='color:#111;'>1.84MB</span>","children":null,"spread":false},{"title":"BMP_ReadWrite.obj <span style='color:#111;'>24.93KB</span>","children":null,"spread":false},{"title":"BMP_ReadWrite.pch <span style='color:#111;'>4.29MB</span>","children":null,"spread":false}],"spread":true},{"title":"BMP_ReadWrite.opt <span style='color:#111;'>133.50KB</span>","children":null,"spread":false},{"title":"BMP_ReadWrite.dsw <span style='color:#111;'>551B</span>","children":null,"spread":false},{"title":"test.h <span style='color:#111;'>3.54KB</span>","children":null,"spread":false},{"title":"BMP_ReadWrite.dsp <span style='color:#111;'>3.46KB</span>","children":null,"spread":false},{"title":"读写BMP示例.txt <span style='color:#111;'>10.10KB</span>","children":null,"spread":false},{"title":"BMP_ReadWrite.positions <span style='color:#111;'>240B</span>","children":null,"spread":false},{"title":"BMP_ReadWrite.plg <span style='color:#111;'>1.38KB</span>","children":null,"spread":false},{"title":"BMP_ReadWrite.cpp <span style='color:#111;'>7.90KB</span>","children":null,"spread":false},{"title":"BMP_ReadWrite.ncb <span style='color:#111;'>57.00KB</span>","children":null,"spread":false}],"spread":false}],"spread":true}]

评论信息

  • Willardcsdn:
    很实用的资料2016-11-24

免责申明

【好快吧下载】的资源来自网友分享,仅供学习研究,请务必在下载后24小时内给予删除,不得用于其他任何用途,否则后果自负。基于互联网的特殊性,【好快吧下载】 无法对用户传输的作品、信息、内容的权属或合法性、合规性、真实性、科学性、完整权、有效性等进行实质审查;无论 【好快吧下载】 经营者是否已进行审查,用户均应自行承担因其传输的作品、信息、内容而可能或已经产生的侵权或权属纠纷等法律责任。
本站所有资源不代表本站的观点或立场,基于网友分享,根据中国法律《信息网络传播权保护条例》第二十二条之规定,若资源存在侵权或相关问题请联系本站客服人员,8686821#qq.com,请把#换成@,本站将给予最大的支持与配合,做到及时反馈和处理。关于更多版权及免责申明参见 版权及免责申明