PngDecoder Class |
An ImageDecoder used to read Portable Network Graphics (PNG) images from a Stream.
Namespace: Atalasoft.Imaging.Codec
The PngDecoder type exposes the following members.
Name | Description | |
---|---|---|
![]() | PngDecoder() | Initializes a new instance of a PngDecoder. |
![]() | PngDecoder(Double) | Initializes a new instance of a PcdDecoder with a specified screen gamma. |
Name | Description | |
---|---|---|
![]() | ScreenGamma | Gets or sets the screen gamma value that will be used to adjust the colors of a PNG image when read if the
image contains gamma. |
![]() | SetAlphaFromTransparentColor | Indicates whether or not the PngDcoder should set the alpha channel in the image using the Png file's
transparent color. |
![]() | SupportedImageType | Obsolete. Returns a Png ImageType enumeration value. (Overrides ImageDecoder.SupportedImageType.) |
![]() | TwoBytePerComponentSupport | Gets or sets a value indicating whether 16-bit per component images are read as 16 or 8-bit per component
images. |
Name | Description | |
---|---|---|
![]() | Equals | Determines whether the specified object is equal to the current object. (Inherited from Object.) |
![]() | Finalize | Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection. (Inherited from Object.) |
![]() | GetHashCode | Serves as the default hash function. (Inherited from Object.) |
![]() | GetImageInfo | Retreive information from a Png image stored in a Stream without decoding the image data. (Overrides ImageDecoder.GetImageInfo(Stream).) |
![]() | GetType | Gets the Type of the current instance. (Inherited from Object.) |
![]() | IsValidFormat | Returns true if the specified Stream contains an Png image. |
![]() | MemberwiseClone | Creates a shallow copy of the current Object. (Inherited from Object.) |
![]() | Read | Returns an AtalaImage from a Stream containing a Png encoded image. (Overrides ImageDecoder.Read(Stream, ProgressEventHandler).) |
![]() | ToString | Returns a string that represents the current object. (Inherited from Object.) |