ImageFormat Class
Represents base abstraction for image files.
Inheritance Hierarchy
SystemObject
  GroupDocs.Metadata.FormatsFormatBase
    GroupDocs.Metadata.Formats.ImageImageFormat
      More...

Namespace: GroupDocs.Metadata.Formats.Image
Assembly: GroupDocs.Metadata (in GroupDocs.Metadata.dll) Version: 19.5
Syntax
public abstract class ImageFormat : FormatBase

The ImageFormat type exposes the following members.

Constructors
  NameDescription
Protected methodImageFormat(Stream)
Initializes a new instance of the ImageFormat class.
Protected methodImageFormat(String)
Initializes a new instance of the ImageFormat class.
Protected methodImageFormat(Stream, Encoding)
Initializes a new instance of the ImageFormat class.
Protected methodImageFormat(String, Encoding)
Initializes a new instance of the ImageFormat class.
Properties
  NameDescription
Public propertyByteOrder
Gets the byte-order of the image. Please see https://en.wikipedia.org/wiki/Endianness for more information.
Public propertyHeight
Gets the image height.
Public propertyItem
Gets the MetadataProperty with the specified key.
(Inherited from FormatBase.)
Public propertyMIMEType
Gets the MIME type of the loaded file.
(Inherited from FormatBase.)
Public propertyType
Gets the type of the loaded file.
(Inherited from FormatBase.)
Public propertyWidth
Gets the image width.
Methods
  NameDescription
Public methodCleanMetadata
Removes writable metadata properties associated with the image.
(Overrides FormatBaseCleanMetadata.)
Public methodDispose
Performs application-defined tasks associated with freeing, releasing, or resetting unmanaged resources.
(Inherited from FormatBase.)
Protected methodDispose(Boolean)
Releases unmanaged and optionally managed resources.
(Inherited from FormatBase.)
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 methodStatic memberFromFile(String)
Creates ImageFormat from a file.
Public methodStatic memberFromFile(String, Encoding)
Creates ImageFormat from a file.
Public methodStatic memberFromStream(Stream)
Creates ImageFormat from a stream.
Public methodStatic memberFromStream(Stream, Encoding)
Creates ImageFormat from a stream.
Public methodGetHashCode
Serves as a hash function for a particular type.
(Inherited from Object.)
Public methodGetMetadata
Gets an array of metadata packages extracted from the file.
(Inherited from FormatBase.)
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 methodCode exampleSave
Saves all changes made in the loaded file.
(Inherited from FormatBase.)
Public methodCode exampleSave(Stream)
Saves the file content into a stream.
(Inherited from FormatBase.)
Public methodCode exampleSave(String)
Saves the file content to the specified file.
(Inherited from FormatBase.)
Public methodToString
Returns a string that represents the current object.
(Inherited from Object.)
See Also
Inheritance Hierarchy
SystemObject
  GroupDocs.Metadata.FormatsFormatBase
    GroupDocs.Metadata.Formats.ImageImageFormat
      GroupDocs.Metadata.Formats.ImageBmpFormat
      GroupDocs.Metadata.Formats.ImageDICOMFormat
      GroupDocs.Metadata.Formats.ImageDjvuFormat
      GroupDocs.Metadata.Formats.ImageEmfFormat
      GroupDocs.Metadata.Formats.ImageGifFormat
      GroupDocs.Metadata.Formats.ImageJp2Format
      GroupDocs.Metadata.Formats.ImageJpegFormat
      GroupDocs.Metadata.Formats.ImagePngFormat
      GroupDocs.Metadata.Formats.ImagePsdFormat
      GroupDocs.Metadata.Formats.ImageTiffFormat
      GroupDocs.Metadata.Formats.ImageWebPFormat
      GroupDocs.Metadata.Formats.ImageWmfFormat