Table of Contents

Enum PsdComposite

Namespace
Egami.Formats.Psd
Assembly
Egami.dll

Which image Load gives for a PSD or PSB file.

public enum PsdComposite

Fields

Auto = 0

The composite Photoshop stored, or the layers flattened when the file holds only a placeholder (saved without Maximize Compatibility). The default.

Flatten = 2

Always the layers flattened by Egami, as Flatten(PsdFlattenOptions?) does.

Stored = 1

Always the composite Photoshop stored, the placeholder too, with the Psd.NoComposite warning.

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 });