C# Class CSharpImageLibrary.Headers.PNG_Header

Contains information about a PNG file header.
Inheritance: AbstractHeader
显示文件 Open project: KFreon/CSharpImageLibrary

Public Properties

Property Type Description
Identifier string

Public Methods

Method Description
PNG_Header ( Stream stream ) : System

Reads the header from a PNG image.

Protected Methods

Method Description
Load ( Stream stream ) : long

Loads PNG header from stream.

Private Methods

Method Description
CheckIdentifier ( byte IDBlock ) : bool

Method Details

Load() protected method

Loads PNG header from stream.
protected Load ( Stream stream ) : long
stream Stream Fully formatted header stream. Position not relevant, but not reset.
return long

PNG_Header() public method

Reads the header from a PNG image.
public PNG_Header ( Stream stream ) : System
stream Stream Fully formatted PNG image.
return System

Property Details

Identifier public_oe static_oe property

Characters beginning the file marking it as a GIF image.
public static string Identifier
return string