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.4.0.9.0.377 (.NET 4.5.2, x86)
Syntax public PngImageInfo(
Size size,
int colorDepth,
ImageType imageType,
Dpi resolution,
PixelFormat pixelFormat,
bool pngInterlaced
)
Public Sub New (
size As Size,
colorDepth As Integer,
imageType As ImageType,
resolution As Dpi,
pixelFormat As PixelFormat,
pngInterlaced As Boolean
)
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