Click or drag to resize

PngImageInfo Constructor (Size, Int32, ImageType, Dpi, PixelFormat, Boolean)

Initialize a new instance of a %PngImageInfo% specifying it's properties.

Namespace:  Atalasoft.Imaging.Codec
Assembly:  Atalasoft.dotImage (in Atalasoft.dotImage.dll) Version: 11.0.0.0.0.297 (.NET 4.5.2, x86)
Syntax
public PngImageInfo(
	Size size,
	int colorDepth,
	ImageType imageType,
	Dpi resolution,
	PixelFormat pixelFormat,
	bool pngInterlaced
)

Parameters

size
Type: System.DrawingSize
The width and height of the image.
colorDepth
Type: SystemInt32
The bits per pixel of the image.
imageType
Type: Atalasoft.Imaging.CodecImageType
The image type.
resolution
Type: Atalasoft.ImagingDpi
The image resolution, usually expressed in dots per inch.
pixelFormat
Type: Atalasoft.ImagingPixelFormat
The PixelFormat which will be returned when the image is read.
pngInterlaced
Type: SystemBoolean
A value indicating if the PNG is interlaced.
See Also