Crate psd[][src]

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

Represents the contents of a PSD file

PsdGroup represents a group of layers

PsdLayer represents a pixel layer

Enums

An image resource from the image resources section

Indicates how a channe’sl data is compressed

The different kinds of channels in a layer (red, green, blue, …).

An list of errors returned when processing PSD file.

+————————————+––––––––––––––––––––––––––––+ | 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) | +————————————+––––––––––––––––––––––––––––+