Class PsdOptions
- Namespace
- Aspose.Imaging.ImageOptions
- Assembly
- Aspose.Imaging.dll
Create Photoshop Document (PSD) images with our API, offering versatile options with different format versions, compression methods, color modes, and bits counts per color channel. Seamlessly handle XMP metadata containers, ensuring comprehensive image processing with the power of PSD format features like image layers, layer masks, and file information for customization and creativity in your designs.
public class PsdOptions : ImageOptionsBase, IDisposable, IHasXmpData, IHasMetadata
- Inheritance
-
PsdOptions
- Implements
- Inherited Members
Constructors
PsdOptions()
Initializes a new instance of the PsdOptions class.
public PsdOptions()
PsdOptions(PsdOptions)
Initializes a new instance of the PsdOptions class.
public PsdOptions(PsdOptions options)
Parameters
options
PsdOptionsThe options.
Properties
ChannelBitsCount
Gets or sets the bits count per color channel.
public short ChannelBitsCount { get; set; }
Property Value
- short
The bits count per color channel.
ChannelsCount
Gets or sets the color channels count.
public short ChannelsCount { get; set; }
Property Value
- short
The color channels count.
ColorMode
Gets or sets the psd color mode.
public ColorModes ColorMode { get; set; }
Property Value
- ColorModes
The color mode.
CompressionMethod
Gets or sets the psd compression method.
public CompressionMethod CompressionMethod { get; set; }
Property Value
- CompressionMethod
The compression method.
PsdVersion
Gets or sets the file format version. It can be PSD or PSB.
public PsdVersion PsdVersion { get; set; }
Property Value
- PsdVersion
The file format version.
RefreshImagePreviewData
Gets or sets a value indicating whether [refresh image preview data] - option used to maximize compatibility with another PSD image viewers. Please note, text layers drawing to final layout is not supported for Compact Framework platform
public bool RefreshImagePreviewData { get; set; }
Property Value
- bool
true
if [refresh image preview data]; otherwise,false
.
RemoveGlobalTextEngineResource
Gets or sets a value indicating whether - Remove the global text engine resource - Used for some text-layered psd files, in only case, when they can not be opened in Adobe Photoshop after processing (mostly for absent fonts text layers related). After using this option, user need to Make next in opened in Photoshop file: Menu "Text" -> "Process absent fonts". After that operation all text will appear again. Please note, that this operation may cause some final layout changes.
public bool RemoveGlobalTextEngineResource { get; set; }
Property Value
- bool
true
if [remove global text engine resource]; otherwise,false
.
VectorizationOptions
Gets or sets the PSD vectorization options.
public PsdVectorizationOptions VectorizationOptions { get; set; }
Property Value
Version
Gets or sets the psd file version.
public int Version { get; set; }
Property Value
- int
The psd file version.
XmpData
Get or set XMP data container
public override XmpPacketWrapper XmpData { get; set; }