Expand description
Data structures and methods for working with PSD files.
You are encouraged to read the PSD specification before contributing to this codebase. This will help you better understand the current approach and discover ways to improve it.
psd spec: https://www.adobe.com/devnet-apps/photoshop/fileformatashtml/
Structs§
- Psd
- Represents the contents of a PSD file
- PsdGroup
- PsdGroup represents a group of layers
- PsdLayer
- PsdLayer represents a pixel layer
Enums§
- Color
Mode - Adobe Docs
- Descriptor
Field - One of
- Image
Resource - An image resource from the image resources section
- PsdChannel
Compression - Indicates how a channe’sl data is compressed
- PsdChannel
Kind - The different kinds of channels in a layer (red, green, blue, …).
- PsdDepth
- Adobe Docs
- PsdError
- An list of errors returned when processing PSD file.
- Unit
Float Structure - +————————————+––––––––––––––––––––––––––––+ | Length | Description | +————————————+––––––––––––––––––––––––––––+ | 4 | Units the following value is in. One of the following: | | | ‘#Ang’ = angle: base degrees | | | ‘#Rsl’ = density: base per inch | | | ‘#Rlt’ = distance: base 72ppi | | | ‘#Nne’ = none: coerced. | | | ‘#Prc’= percent: unit value | | | ‘#Pxl’ = pixels: tagged unit value | | 8 | Actual value (double) | +————————————+––––––––––––––––––––––––––––+