PsdPackage

Inheritance: java.lang.Object, com.groupdocs.metadata.core.MetadataPackage, com.groupdocs.metadata.core.CustomPackage

public final class PsdPackage extends CustomPackage

Represents native Photoshop metadata.

Learn more

Methods

Method Description
getChannelCount() Gets the number of channels.
getColorMode() Gets the psd color mode.
getCompression() Gets the compression method used for image data.
getPhotoshopVersion() Gets the Photoshop version.
getHeight() Gets the height of the image.
getWidth() Gets PSD width of the image.
getLayers() Gets the Photoshop layers.

getChannelCount()

public final int getChannelCount()

Gets the number of channels.

Returns: int - The number of channels.

getColorMode()

public final PsdColorMode getColorMode()

Gets the psd color mode.

Returns: PsdColorMode - The color mode.

getCompression()

public final PsdCompressionMethod getCompression()

Gets the compression method used for image data.

Returns: PsdCompressionMethod - The compression method.

getPhotoshopVersion()

public final int getPhotoshopVersion()

Gets the Photoshop version.

Returns: int - The photoshop version.

getHeight()

public final int getHeight()

Gets the height of the image.

Returns: int - The height of the image.

getWidth()

public final int getWidth()

Gets PSD width of the image.

Returns: int - The width of the image.

getLayers()

public final PsdLayer[] getLayers()

Gets the Photoshop layers.

Returns: com.groupdocs.metadata.core.PsdLayer[] - The Photoshop layers.