Crate psd

Source
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§

ColorMode
Adobe Docs
DescriptorField
One of
ImageResource
An image resource from the image resources section
PsdChannelCompression
Indicates how a channe’sl data is compressed
PsdChannelKind
The different kinds of channels in a layer (red, green, blue, …).
PsdDepth
Adobe Docs
PsdError
An list of errors returned when processing PSD file.
UnitFloatStructure
+————————————+––––––––––––––––––––––––––––+ | 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) | +————————————+––––––––––––––––––––––––––––+