C# Class CSharpImageLibrary.Headers.GIF_Header

Provides information given by GIF file header. Mostly from http://giflib.sourceforge.net/whatsinagif/bits_and_bytes.html
Inheritance: AbstractHeader
Show file Open project: KFreon/CSharpImageLibrary

Public Properties

Property Type Description
Identifier string

Public Methods

Method Description
GIF_Header ( Stream stream ) : System

Reads header from GIF image.

Protected Methods

Method Description
Load ( Stream stream ) : long

Read header from stream.

Private Methods

Method Description
CheckIdentifier ( byte IDBlock ) : bool

Method Details

GIF_Header() public method

Reads header from GIF image.
public GIF_Header ( Stream stream ) : System
stream Stream Fully formatted GIF image.
return System

Load() protected method

Read header from stream.
protected Load ( Stream stream ) : long
stream Stream Stream containing header.
return long

Property Details

Identifier public static property

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