PsdOptions
Inheritance: java.lang.Object, ImageOptionsBase
The psd file format create options.
Constructors
| Constructor | Description |
|---|---|
| PsdOptions() | Initializes a new instance of the PsdOptions class. |
| PsdOptions(PsdOptions options) | Initializes a new instance of the PsdOptions class. |
Methods
| Method | Description |
|---|---|
| getTargetFormat() | |
| getXmpData() | Get or set XMP data container |
| setXmpData(com.aspose.cad.xmp.XmpPacketWrapper value) | Get or set XMP data container |
| getVersion() | Gets or sets the psd file version. |
| setVersion(int value) | Gets or sets the psd file version. |
| getCompressionMethod() | Gets or sets the psd compression method. |
| setCompressionMethod(short value) | Gets or sets the psd compression method. |
| getColorMode() | Gets or sets the psd color mode. |
| setColorMode(short value) | Gets or sets the psd color mode. |
| getChannelBitsCount() | Gets or sets the bits count per color channel. |
| setChannelBitsCount(short value) | Gets or sets the bits count per color channel. |
| getChannelsCount() | Gets or sets the color channels count. |
| setChannelsCount(short value) | Gets or sets the color channels count. |
PsdOptions()
public PsdOptions()
Initializes a new instance of the PsdOptions class.
PsdOptions(PsdOptions options)
public PsdOptions(PsdOptions options)
Initializes a new instance of the PsdOptions class.
Parameters:
| Parameter | Type | Description |
|---|---|---|
| options | PsdOptions | The options. |
getTargetFormat()
public long getTargetFormat()
Returns: long
getXmpData()
public com.aspose.cad.xmp.XmpPacketWrapper getXmpData()
Get or set XMP data container
Returns: com.aspose.cad.xmp.XmpPacketWrapper - The XMP data container.
setXmpData(com.aspose.cad.xmp.XmpPacketWrapper value)
public void setXmpData(com.aspose.cad.xmp.XmpPacketWrapper value)
Get or set XMP data container
Parameters:
| Parameter | Type | Description |
|---|---|---|
| value | com.aspose.cad.xmp.XmpPacketWrapper | The XMP data container. |
getVersion()
public int getVersion()
Gets or sets the psd file version.
Returns: int - The psd file version.
setVersion(int value)
public void setVersion(int value)
Gets or sets the psd file version.
Parameters:
| Parameter | Type | Description |
|---|---|---|
| value | int | The psd file version. |
getCompressionMethod()
public short getCompressionMethod()
Gets or sets the psd compression method.
Returns: short - The compression method.
setCompressionMethod(short value)
public void setCompressionMethod(short value)
Gets or sets the psd compression method.
Parameters:
| Parameter | Type | Description |
|---|---|---|
| value | short | The compression method. |
getColorMode()
public short getColorMode()
Gets or sets the psd color mode.
Returns: short - The color mode.
setColorMode(short value)
public void setColorMode(short value)
Gets or sets the psd color mode.
Parameters:
| Parameter | Type | Description |
|---|---|---|
| value | short | The color mode. |
getChannelBitsCount()
public short getChannelBitsCount()
Gets or sets the bits count per color channel.
Returns: short - The bits count per color channel.
setChannelBitsCount(short value)
public void setChannelBitsCount(short value)
Gets or sets the bits count per color channel.
Parameters:
| Parameter | Type | Description |
|---|---|---|
| value | short | The bits count per color channel. |
getChannelsCount()
public short getChannelsCount()
Gets or sets the color channels count.
Returns: short - The color channels count.
setChannelsCount(short value)
public void setChannelsCount(short value)
Gets or sets the color channels count.
Parameters:
| Parameter | Type | Description |
|---|---|---|
| value | short | The color channels count. |