PcdDecoder Class |
An ImageDecoder used to read Kodak Photo CD (PCD) images from a Stream.
Namespace: Atalasoft.Imaging.Codec
The PcdDecoder type exposes the following members.
Name | Description | |
---|---|---|
PcdDecoder | Initializes a new instance of a %PcdDecoder%. | |
PcdDecoder(PcdResolution) | Initializes a new instance of a PcdDecoder specifying a resolution. |
Name | Description | |
---|---|---|
Resolution | Gets or sets the resolution to read in a PhotoCD image. | |
SupportedImageType | Obsolete. Returns a PhotoCD ImageType enumeration value. (Overrides ImageDecoderSupportedImageType.) |
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 PhotoCD image stored in a Stream without decoding the image data. (Overrides ImageDecoderGetImageInfo(Stream).) | |
GetType | Gets the Type of the current instance. (Inherited from Object.) | |
IsValidFormat | Returns true if the specified Stream contains a PhotoCD image. | |
MemberwiseClone | Creates a shallow copy of the current Object. (Inherited from Object.) | |
Read | Returns an AtalaImage from a Stream containing a PhotoCD encoded image. (Overrides ImageDecoderRead(Stream, ProgressEventHandler).) | |
ToString | Returns a string that represents the current object. (Inherited from Object.) |
By default, when opening a PhotoCD image using the AtalaImage or Workspace objects, this decoder will automatically be selected from the RegisteredDecoders and does not have to be explicitly set.
A PhotoCD image contains the same image stored at multiple resolutions. By specifying the Resolution property, you can choose which resolution image to load.