ImageDecoder Class |
Namespace: Atalasoft.Imaging.Codec
The ImageDecoder type exposes the following members.
| Name | Description | |
|---|---|---|
| ImageDecoder |
Initializes a new instance of the ImageDecoder class.
|
| Name | Description | |
|---|---|---|
| SupportedImageType | Obsolete. Returns the ImageType that the implemented decoder class supports. |
| 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 | Retrieves information from an image stored in a file without decoding the image data. | |
| GetType | Gets the Type of the current instance. (Inherited from Object.) | |
| IsValidFormat | Checks the stream to determine if the image can be read by the decoder that derives this class. | |
| MemberwiseClone | Creates a shallow copy of the current Object. (Inherited from Object.) | |
| Read | Decode an image in a specified image Stream. | |
| ToString | Returns a string that represents the current object. (Inherited from Object.) |
Load an image from a Stream
FileStream fs = System.IO.File.OpenRead(@"c:\test.tif"); AtalaImage image = new AtalaImage(fs);
Dim fs As FileStream = System.IO.File.OpenRead("c:\test.tif") Dim image As AtalaImage = New AtalaImage(fs);
Load an image from a file
AtalaImage image = new AtalaImage(@"c:\test.tif");
Dim image As AtalaImage = New AtalaImage("c:\test.tif");