Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
我有一个 bmp 文件。我在它的标题中读到它的大小是“56 5A 03”,这意味着 0x035A56。但是,我用来查看该文件内容的每个十六进制编辑器都显示该文件的 0x038000 字节。
谢谢。
BMP 格式的维基百科页面描述了该格式,并将标题中的该字段描述为“图像大小。这是原始位图数据的大小(见下文),不应与文件大小混淆。” 这意味着它可能不计算像素之间的填充。