Next
Previous
Contents
This information is of course based on the
PSP-FileFormat-3.0-Specs.html specification of the
format and is limited to version 3.0 which is the only available
one at the moment. In the following the hierarchy of a PSP
Format 3.0 File is shown:
- File Header (mandatory)
file signature (magic value)
- General Image Attributes Block (mandatory)
- Header
- Attributes
- Extended Data Block (optional)
- Header
- One or more Extended Data Chunks
- Data Keyword Chunk
- Data Value Chunk
- Tube Data Block (optional, for tube files only)
- Header
- Tube Data Chunk
- Creator Data Block (optional)
- Header
- One or more Creator Chunks
- Creator Keyword Chunk
- Creator Value Chunk
- Thumbnail Block (optional)
- Header
- Thumbnail Attribute Chunk
- Thumbnail Color Palette Sub Block (optional, indexed
thumbnails only)
- one or three Thumbnail Channel Sub Blocks (depending
on thumbnail type)
- Color Palette Block (mandatory for indexed images)
- Color Palette Sub Block
- Header
- Palette Information Chunk
- a "string" of Palette Entries
- Layer Bank Block (mandatory)
- Header
- List of Layer Sub Blocks
- Header
- Layer Info Chunk
- one or more Layer Channel Sub Blocks
- Selection Block (optional)
- Header
- Selection Information Chunk
- Selection Channel Sub Block
- Alpha Bank Block (optional)
- Header
- Alpha Bank Information Chunk
- One or more Alpha Channel Blocks
- Header
- Alpha Channel Info Chunk
- Alpha Channel Sub Block
Notes:
- Only the File Header and the General Image Attributes
Block have their fixed position at the beginning of the
file. Everything else can follow in any order.
Next
Previous
Contents