Dejvinova file-page
Popis struktury 24bitoveho BMP souboru



Vypis souboru test.bmp

test.bmp
00000000
42 4D 00 00 00 00 00 00 00 00 36 00 00 00 28 00 00 00 0A 00 00 00 0A 00 00 BM........6...(.......... 00000019 00 01 00 18 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ......................... 00000032 00 00 00 00 FF 00 00 00 FF 00 00 00 FF FF CC FF FF CC FF FF CC FF FF CC FF ......................... 0000004B FF CC FF FF CC FF FF CC FF 00 00 FF CC FF FF CC FF FF CC FF FF CC FF FF CC ......................... 00000064 FF FF CC FF FF CC FF FF CC FF FF CC FF FF CC FF 00 00 FF CC FF FF CC FF FF ......................... 0000007D CC FF FF CC FF FF CC FF FF CC FF FF CC FF FF CC FF FF CC FF FF CC FF 00 00 ......................... 00000096 FF CC FF FF CC FF FF CC FF FF CC FF FF CC FF FF CC FF FF CC FF FF CC FF FF ......................... 000000AF CC FF FF CC FF 00 00 FF CC FF FF CC FF FF CC FF FF CC FF FF CC FF FF CC FF ......................... 000000C8 FF CC FF FF CC FF FF CC FF FF CC FF 00 00 FF CC FF FF CC FF FF CC FF FF CC ......................... 000000E1 FF FF CC FF FF CC FF FF CC FF FF CC FF FF CC FF FF CC FF 00 00 FF CC FF FF ......................... 000000FA CC FF FF CC FF FF CC FF FF CC FF FF CC FF FF CC FF FF CC FF FF CC FF FF CC ......................... 00000113 FF 00 00 FF CC FF FF CC FF FF CC FF FF CC FF FF CC FF FF CC FF FF CC FF FF ......................... 0000012C CC FF FF CC FF FF CC FF 00 00 FF CC FF FF CC FF FF CC FF FF CC FF FF CC FF ......................... 00000145 FF CC FF FF CC FF FF CC FF FF CC FF FF CC FF 00 00 FF CC FF FF CC FF FF CC ......................... 0000015E FF FF CC FF FF CC FF FF CC FF FF CC FF FF CC FF FF CC FF FF CC FF 00 00 ........................
Popis: v prilozenem prikladu je vyplneny obrazek 1 barvou (FF CC FF) a pro znazorneni usporadani pixelu je v levem dolnim rohu cerveny, zeleny a modry pixel.
Data obrazku nasleduji hned po hlavicce souboru.
Poradi vkladani pixelu do souboru je po radcich zleva doprava, zespoda nahoru. Kazdy radek pixelu musi byt doplnen do poctu bytu delitelneho 4.

Pouzity priklad: test.bmp
Zdroj informaci: ZDE




TOPlist