Click or drag to resize

PsdDecoder Class

An ImageDecoder used to read Adobe Photoshop (PSD) images from a Stream.

Inheritance Hierarchy
SystemObject
  Atalasoft.Imaging.CodecImageDecoder
    Atalasoft.Imaging.CodecPsdDecoder

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 class PsdDecoder : ImageDecoder

The PsdDecoder type exposes the following members.

Constructors
  NameDescription
Public methodPsdDecoder
Initializes a new instance of a PsdDecoder.
Top
Properties
  NameDescription
Public propertySupportedImageType Obsolete.
Gets a Psd ImageType enumeration value.
(Overrides ImageDecoderSupportedImageType.)
Top
Methods
  NameDescription
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 Psd image stored in a Stream without decoding the image data.
(Overrides ImageDecoderGetImageInfo(Stream).)
Public methodGetThumbnail
Gets the thumbnail image stored in the Photoshop Resource of the image.
Public methodGetType
Gets the Type of the current instance.
(Inherited from Object.)
Public methodIsValidFormat

Returns true if the specified Stream contains an Psd image.

(Overrides ImageDecoderIsValidFormat(Stream).)
Protected methodMemberwiseClone
Creates a shallow copy of the current Object.
(Inherited from Object.)
Public methodRead(Stream, ProgressEventHandler)
Returns an AtalaImage from a Stream containing a Psd encoded image.
(Overrides ImageDecoderRead(Stream, ProgressEventHandler).)
Public methodRead(Stream, Color, ProgressEventHandler)
Returns an AtalaImage from a Stream containing a Psd encoded image.
Public methodToString
Returns a string that represents the current object.
(Inherited from Object.)
Top
Remarks

By default, when opening a Psd image using the AtalaImage or Workspace objects, this decoder will automatically be selected from the RegisteredDecoders and does not have to be explicitly set.

Any layering information saved in the PSD image will be lost when read. This information is read into a merged RGB format.

For obtaining Photoshop Resources from a PSD image, see the PhotoshopResourceParser class.

See Also