Directory.entryName

Remarks: When searching for a global palette for 8-bit bitmaps, the directory entry name for the global palette will always '!pal'. Once the '!pal' directory entry has been found, the global palette can be extracted and used for any bitmaps that use 8-bit indexed color. If no global palette is found, FSH decoders should look for a local palette directly following the indexed bitmap. If no palette is found, then no palette will be created or associated with the bitmap.

Most tools, like FSHTool, simply ignore missing palettes and save the bitmap with an empty palette with all indices set to black.

struct Directory
str!4 entryName;

See Also

EntryName

Meta