Reference Library
ImageParser Class
NamespacesMBNCSUtil.DataImageParser
When implemented in a derived class, allows a custom image codec to be parsed to retrieve a .NET Image object.
Declaration Syntax
C#Visual BasicVisual C++
public abstract class ImageParser : IDisposable
Public MustInherit Class ImageParser _
	Implements IDisposable
public ref class ImageParser abstract : IDisposable
Members
All MembersConstructorsMethodsProperties



IconMemberDescription
ImageParser()()()()
Creates a new ImageParser.

Create(String)
Creates a new ImageParser for the file at the specified path.

Create(Stream)
Creates a new ImageParser for the specified stream.

Dispose()()()()
Disposes the parser, cleaning up managed and unmanaged resources.

Dispose(Boolean)
Disposes the parser, cleaning up unmanaged and optionally managed resources.

Equals(Object)
Determines whether the specified Object is equal to the current Object.
(Inherited from Object.)
Finalize()()()()
Allows an Object to attempt to free resources and perform other cleanup operations before the Object is reclaimed by garbage collection.
(Inherited from Object.)
GetHashCode()()()()
Serves as a hash function for a particular type. GetHashCode()()()() is suitable for use in hashing algorithms and data structures like a hash table.
(Inherited from Object.)
GetMipmapImage(Int32)
Gets a new Image of the mipmap at the specified index.

GetSizeOfMipmap(Int32)
Gets the size of the mipmap at the specified index.

GetType()()()()
Gets the Type of the current instance.
(Inherited from Object.)
MemberwiseClone()()()()
Creates a shallow copy of the current Object.
(Inherited from Object.)
NumberOfMipmaps
Gets the number of mipmaps contained in this image.

ToString()()()()
Returns a String that represents the current Object.
(Inherited from Object.)
Remarks

Because of differences in file type and purpose, this class does not support working with images from .BNI files found in Starcraft or Warcraft II: Battle.net Edition. To use those files, use the BniFileParser class instead.

Inheritance Hierarchy
Object
ImageParser

Assembly: Asgard5Library (Module: Asgard5Library)