首页 开发技术 C++     /    rgb565和BMP24位图片互转

rgb565和BMP24位图片互转

上传者: yufeng0810 | 上传时间:2023/11/7 2:09:01 | 文件大小:1.05MB | 文件类型:rar
rgb565和BMP24位图片互转
最近一个项目用到将TVP5150抓的RGB565数据上传,但电脑无法显示RGB565图像,所以参考网络上的代码稍微进行了调整,可以使用!使用方法:将RGB565文件放到工程或者DEBUG目录下,文件名为test无扩展名文件分辨率大小为720x530如果需要其它分辨率可直接去代码中修改宽度和高度即可。
由于项目时间关系,没有做参数直接传入就能用的功能。
同时提供一个BMP转rgb565的工具:使用方法,调入图片后,可以调整图像的上下左右等。
然后点Saveas后弹出转换的输出格式。
然后选择你想要的rgb565即可。
但注意一点,转出来的Data的第一行要删除掉(这行看起来是个数据头)剩下的全是图像数据。
本软件ID:9149071

文件下载

资源详情

[{"title":"(22个子文件1.05MB)rgb565和BMP24位图片互转","children":[{"title":"RGB-BMP互转","children":[{"title":"说明.txt <span style='color:#111;'>581B</span>","children":null,"spread":false},{"title":"bmp转rgb565","children":[{"title":"BmpCvt.exe <span style='color:#111;'>111.00KB</span>","children":null,"spread":false}],"spread":true},{"title":"RGB565转BMP","children":[{"title":"ReadMe.txt <span style='color:#111;'>1.18KB</span>","children":null,"spread":false},{"title":"StdAfx.h <span style='color:#111;'>769B</span>","children":null,"spread":false},{"title":"rgb565.opt <span style='color:#111;'>52.50KB</span>","children":null,"spread":false},{"title":"Debug","children":[{"title":"vc60.pdb <span style='color:#111;'>108.00KB</span>","children":null,"spread":false},{"title":"rgb565.obj <span style='color:#111;'>16.28KB</span>","children":null,"spread":false},{"title":"rgb565.pdb <span style='color:#111;'>577.00KB</span>","children":null,"spread":false},{"title":"rgb565.pch <span style='color:#111;'>198.95KB</span>","children":null,"spread":false},{"title":"vc60.idb <span style='color:#111;'>73.00KB</span>","children":null,"spread":false},{"title":"rgb565.exe <span style='color:#111;'>248.05KB</span>","children":null,"spread":false},{"title":"StdAfx.obj <span style='color:#111;'>1.77KB</span>","children":null,"spread":false},{"title":"rgb565.ilk <span style='color:#111;'>360.43KB</span>","children":null,"spread":false},{"title":"test <span style='color:#111;'>745.31KB</span>","children":null,"spread":false}],"spread":true},{"title":"rgb565.dsp <span style='color:#111;'>4.43KB</span>","children":null,"spread":false},{"title":"rgb565.cpp <span style='color:#111;'>4.11KB</span>","children":null,"spread":false},{"title":"rgb2bmp.h <span style='color:#111;'>3.02KB</span>","children":null,"spread":false},{"title":"rgb565.ncb <span style='color:#111;'>49.00KB</span>","children":null,"spread":false},{"title":"StdAfx.cpp <span style='color:#111;'>293B</span>","children":null,"spread":false},{"title":"rgb565.dsw <span style='color:#111;'>535B</span>","children":null,"spread":false},{"title":"test <span style='color:#111;'>745.31KB</span>","children":null,"spread":false},{"title":"rgb565.plg <span style='color:#111;'>246B</span>","children":null,"spread":false}],"spread":false}],"spread":true}],"spread":true}]

评论信息

  • twotrap:
    48分扣的我肉疼,结果下回来一看不是想要的,真冤2019-03-12
  • dingdongkk:
    刚好要用bmp转rgb565,还不错2017-08-16
  • techtang:
    感谢分享。但使用起来不像说明那样简单,一直没试成功。2016-09-26
  • wangjianhui31:
    不错的东西,值得下载2016-08-09
  • li286678746:
    只有rgb2bmp的源码,bmp2rbg的是exe啊,不是我想要的2016-07-11

免责申明

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