Contains possible types of PSD layers (i.e. frames of AdvancedPsdReader).
Namespace:
Aurigma.GraphicsMill.Codecs
Assembly:
Aurigma.GraphicsMill.Codecs.AdvancedPsd (in Aurigma.GraphicsMill.Codecs.AdvancedPsd.dll)
Public Enumeration PsdFrameType
public enum PsdFrameType
Member name | Description | |
---|---|---|
GroupEnd |
A frame which indicates the ending of a group of layers. |
|
GroupBegin |
A frame which indicates the beginning of a group of layers. |
|
Raster |
Raster layer (presented by the AdvancedPsdFrame class instance). |
|
Text |
Text layer (presented by the AdvancedPsdTextFrame class instance). |
|
Unknown |
Unsupported type of layer (like adjustment layers, etc). |
Text layers can be interpreted as raster ones which include additional meta-information about the text stored in this frame (like the text string, font and paragraph settings, etc). You can get the bitmap from such frames which will contain rasterized text string.
When you iterate through frames of the PSD file, be sure to skip unknown and group layers. It is necessary to avoid problems with extracting bitmaps which are not available in such layers.