I tried to clone a bmp image into another bmp image but the final image would not open.
#include #include #include
2条回答 野趣味 (楼主) 2021-01-27 22:01 BMP images need padding so each line is a multiple of 4 bytes. Your lines are not a multiple of 4, so you're missing 2 bytes per line, or 162 in total - which is the difference in size. 0 讨论(0) 查看其它2个回答 发布评论: 提交评论 加载中... 自定义标题段落格式字体字号代码语言点击上传x 验证码 看不清? 提交回复
BMP images need padding so each line is a multiple of 4 bytes.
Your lines are not a multiple of 4, so you're missing 2 bytes per line, or 162 in total - which is the difference in size.
热议问题