PsdImage Constructor (String, ColorModes, Int16, Int16, Int32, CompressionMethod)
Initializes a new instance of the PsdImage class from specified path from raster image (not psd image in path) with constructor parameters.

Namespace: Aspose.PSD.FileFormats.Psd
Assembly: Aspose.PSD (in Aspose.PSD.dll) Version: 20.6
Syntax
public PsdImage(
	string path,
	ColorModes colorMode,
	short channelBitDepth,
	short channels,
	int psdVersion,
	CompressionMethod compression
)

Parameters

path
Type: SystemString
The path to load pixel and palette data from and initialize with.
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