Contains possible types of PSD layers (i.e. frames of PsdReader).
Namespace:
Aurigma.GraphicsMill.Codecs.Psd
Assembly:
Aurigma.GraphicsMill (in Aurigma.GraphicsMill.dll)
public enum FrameType
Member name | Description |
---|---|
Group |
Group layer (presented by the PsdGroupFrame class instance). |
Raster |
Raster layer (presented by the PsdFrame class instance). |
Shape |
Shape layer (presented by the PsdShapeFrame class instance). |
SmartObject |
Smart object (presented by the PsdSmartFrame class instance). |
Text |
Text layer (presented by the PsdTextFrame 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.