PsdOptions

Inheritance: java.lang.Object, ImageOptionsBase

The psd file format create options.

Constructors

ConstructorDescription
PsdOptions()Initializes a new instance of the PsdOptions class.
PsdOptions(PsdOptions options)Initializes a new instance of the PsdOptions class.

Methods

MethodDescription
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:

ParameterTypeDescription
optionsPsdOptionsThe 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:

ParameterTypeDescription
valuecom.aspose.cad.xmp.XmpPacketWrapperThe 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:

ParameterTypeDescription
valueintThe 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:

ParameterTypeDescription
valueshortThe 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:

ParameterTypeDescription
valueshortThe 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:

ParameterTypeDescription
valueshortThe 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:

ParameterTypeDescription
valueshortThe color channels count.