Enum PsdComposite
Which image Load gives for a PSD or PSB file.
public enum PsdComposite
Fields
Auto = 0The composite Photoshop stored, or the layers flattened when the file holds only a placeholder (saved without Maximize Compatibility). The default.
Flatten = 2Always the layers flattened by Egami, as Flatten(PsdFlattenOptions?) does.
Stored = 1Always the composite Photoshop stored, the placeholder too, with the
Psd.NoCompositewarning.
Examples
// Load gives the composite Photoshop stored, or the layers flattened when the file has none. Ask for one or the other.
using Raster flattened = Raster.Load("layered.psd", EgamiContext.Default, new PsdReaderOptions { Composite = PsdComposite.Flatten });
using Raster stored = Raster.Load("layered.psd", EgamiContext.Default, new PsdReaderOptions { Composite = PsdComposite.Stored });