PsdImage Constructor (Int32, Int32, IColorPalette, ColorModes, Int16, Int16, Int32, CompressionMethod)
Initializes a new instance of the PsdImage class with specified width,height, paletter, color mode, channels count and channels bit-length and specified compression mode parameters. Used to initialize empty psd image.

Namespace: Aspose.PSD.FileFormats.Psd
Assembly: Aspose.PSD (in Aspose.PSD.dll) Version: 20.7
Syntax
public PsdImage(
	int width,
	int height,
	IColorPalette colorPalette,
	ColorModes colorMode,
	short channelBitDepth,
	short channels,
	int psdVersion,
	CompressionMethod compression
)

Parameters

width
Type: SystemInt32
The image width.
height
Type: SystemInt32
The image height.
colorPalette
Type: Aspose.PSDIColorPalette
The color palette.
colorMode
Type: Aspose.PSD.FileFormats.PsdColorModes
The color mode.
channelBitDepth
Type: SystemInt16
The PSD bit depth per channel.
channels
Type: SystemInt16
The PSD channels count.
psdVersion
Type: SystemInt32
The PSD version.
compression
Type: Aspose.PSD.FileFormats.PsdCompressionMethod
The compression to use.
See Also