PAL format
-
Does anybody know where i can find a description of the file format for color palettes (like used in Paint Shop Pro) ? Thanks in advance Michael
-
Does anybody know where i can find a description of the file format for color palettes (like used in Paint Shop Pro) ? Thanks in advance Michael
I do not know anything about this but I found on WEB The Dr. Halo Palette (PAL) file header has the following content (40 bytes): struct Hpal { BYTE ID[2]; Should be AH int version, size; char filetype, subtype; WORD brdid, grmode; int maxindex, maxred, maxgreen, maxblue; Colors = maxindex + 1 char signature[8], filler[12]; "Dr. Halo", 12 0's } ; The palette data is integer triples (R, G, B) for each color in the palette. The palette file data (including the header) is in 512 byte blocks. If there is not a full integer triple at the end of a block, the data should be ignored and the next block started.