ASPsdExportParametersBean

Inheritance: java.lang.Object, ImageExportParameters

The PSD file format export parameters.

Constructors

ConstructorDescription
ASPsdExportParametersBean()Instantiates a new Psd export parameters.

Methods

MethodDescription
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(CompressionMethodEnum value)Gets or sets the psd compression method.
getPsdVersion()Gets the file format version. It can be PSD or PSB.
setPsdVersion(PsdVersionEnum value)Sets the file format version. It can be PSD or PSB. Value: The file format version.
getColorMode()Gets or sets the psd color mode.
setColorMode(ColorModesEnum 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 the color channels count.
setChannelsCount(short value)Sets the color channels count.
isRemoveGlobalTextEngineResource()Gets 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.
setRemoveGlobalTextEngineResource(boolean value)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.
isRefreshImagePreviewData()Gets a value indicating whether [refresh image preview data] - option used to maximize compatibility with another PSD image viewers.
setRefreshImagePreviewData(boolean value)Sets a value indicating whether [refresh image preview data] - option used to maximize compatibility with another PSD image viewers.
setPropertyValues(Object object)

ASPsdExportParametersBean()

public ASPsdExportParametersBean()

Instantiates a new Psd export parameters.

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 CompressionMethodEnum getCompressionMethod()

Gets or sets the psd compression method.

Returns: CompressionMethodEnum - The compression method.

setCompressionMethod(CompressionMethodEnum value)

public void setCompressionMethod(CompressionMethodEnum value)

Gets or sets the psd compression method.

Parameters:

ParameterTypeDescription
valueCompressionMethodEnumThe compression method.

getPsdVersion()

public final PsdVersionEnum getPsdVersion()

Gets the file format version. It can be PSD or PSB.

Returns: PsdVersionEnum - the file format version.

setPsdVersion(PsdVersionEnum value)

public final void setPsdVersion(PsdVersionEnum value)

Sets the file format version. It can be PSD or PSB. Value: The file format version.

Parameters:

ParameterTypeDescription
valuePsdVersionEnumthe file format version.

getColorMode()

public ColorModesEnum getColorMode()

Gets or sets the psd color mode.

Returns: ColorModesEnum - The color mode.

setColorMode(ColorModesEnum value)

public void setColorMode(ColorModesEnum value)

Gets or sets the psd color mode.

Parameters:

ParameterTypeDescription
value:ColorModesEnumThe 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 the color channels count.

Returns: short - The color channels count.

setChannelsCount(short value)

public void setChannelsCount(short value)

Sets the color channels count.

Parameters:

ParameterTypeDescription
valueshortThe color channels count.

isRemoveGlobalTextEngineResource()

public boolean isRemoveGlobalTextEngineResource()

Gets 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.

Returns: boolean - true if [remove global text engine resource]; otherwise, false .

setRemoveGlobalTextEngineResource(boolean value)

public void setRemoveGlobalTextEngineResource(boolean value)

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.

Parameters:

ParameterTypeDescription
valuebooleantrue if [remove global text engine resource]; otherwise, false .

isRefreshImagePreviewData()

public boolean isRefreshImagePreviewData()

Gets a value indicating whether [refresh image preview data] - option used to maximize compatibility with another PSD image viewers.

Returns: boolean - true if [refresh image preview data]; otherwise, false .

setRefreshImagePreviewData(boolean value)

public void setRefreshImagePreviewData(boolean value)

Sets a value indicating whether [refresh image preview data] - option used to maximize compatibility with another PSD image viewers.

Parameters:

ParameterTypeDescription
valuebooleantrue if [refresh image preview data]; otherwise, false .

setPropertyValues(Object object)

public void setPropertyValues(Object object)