Click or drag to resize

PhotoshopResourceParser Class

Parses Photoshop resources from JPEG, TIFF, and PSD images into a collection of PhotoshopResources.
Inheritance Hierarchy
SystemObject
  Atalasoft.Imaging.MetadataPhotoshopResourceParser

Namespace:  Atalasoft.Imaging.Metadata
Assembly:  Atalasoft.dotImage (in Atalasoft.dotImage.dll) Version: 11.4.0.9.0.377 (.NET 4.5.2, x86)
Syntax
public class PhotoshopResourceParser

The PhotoshopResourceParser type exposes the following members.

Constructors
  NameDescription
Public methodPhotoshopResourceParser
Initializes a new instance of PhotoshopResourceParser.
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 methodGetType
Gets the Type of the current instance.
(Inherited from Object.)
Protected methodMemberwiseClone
Creates a shallow copy of the current Object.
(Inherited from Object.)
Public methodParseFromImage(Stream)
Parses Photoshop Resource data from a JPEG, TIFF, or PSD image file stream.
Public methodParseFromImage(String)
Parses Photoshop Resource data from a JPEG, TIFF, or PSD image file.
Public methodParseFromImage(Stream, Int32)
Parses Photoshop Resource data from a JPEG, TIFF, or PSD image file stream specifying the frame index.
Public methodParseFromImage(String, Int32)
Parses Photoshop Resource data from a JPEG, TIFF, or PSD image file specifying the frame index.
Public methodToString
Returns a string that represents the current object.
(Inherited from Object.)
Top
Remarks
The Format Specification for Photoshop Resources is available to purchase from Adobe. This document contains information for each resource ID. The data in each PhotoshopResource is stored as a byte array. The developer must know the format of each ID, available in the specification, to parse to the respective value (string, integer, raw bytes, etc).
Examples
Extract DPI information from a PSD File
See Also