type
TPACFileHeader = record
sig: array [0..2] of char;
ver: word;
width: byte;
height: byte;
spc: byte;
gpc: byte;
end;
By default, the values in a structured type are aligned on word or double-word boundaries for faster access. When you declare a structured type, you can include the reserved word packed to implement compressed data storage
el compilador lo pone en palabras dobles por eso
lo acomoda a 10 bytes
Utilizalo de la siguiente manera
TPACFileHeader = Packed record
sig: array [0..2] of char;
ver: word;
width: byte;
height: byte;
spc: byte;
gpc: byte;
end;