Click or drag to resize

PcdDecoder Class

An ImageDecoder used to read Kodak Photo CD (PCD) images from a Stream.

Inheritance Hierarchy

Namespace:  Atalasoft.Imaging.Codec
Assembly:  Atalasoft.dotImage (in Atalasoft.dotImage.dll) Version: (.NET 4.5.2, x86)
public class PcdDecoder : ImageDecoder

The PcdDecoder type exposes the following members.

Public methodPcdDecoder
Initializes a new instance of a %PcdDecoder%.
Public methodPcdDecoder(PcdResolution)
Initializes a new instance of a PcdDecoder specifying a resolution.
Public propertyResolution

Gets or sets the resolution to read in a PhotoCD image.

Public propertySupportedImageType Obsolete.
Returns a PhotoCD ImageType enumeration value.
(Overrides ImageDecoderSupportedImageType.)
Public methodEquals
Determines whether the specified object is equal to the current object.
(Inherited from Object.)
Protected methodFinalize
Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection.
(Inherited from Object.)
Public methodGetHashCode
Serves as the default hash function.
(Inherited from Object.)
Public methodGetImageInfo
Retreive information from a PhotoCD image stored in a Stream without decoding the image data.
(Overrides ImageDecoderGetImageInfo(Stream).)
Public methodGetType
Gets the Type of the current instance.
(Inherited from Object.)
Public methodIsValidFormat

Returns true if the specified Stream contains a PhotoCD image.

(Overrides ImageDecoderIsValidFormat(Stream).)
Protected methodMemberwiseClone
Creates a shallow copy of the current Object.
(Inherited from Object.)
Public methodRead
Returns an AtalaImage from a Stream containing a PhotoCD encoded image.
(Overrides ImageDecoderRead(Stream, ProgressEventHandler).)
Public methodToString
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.

See Also