Class GifDecoder - Decodes a GIF file into one or more frames and exposes its properties, components and any error states. No copyright asserted on the source code of this class. May be used for any purpose, however, refer to the Unisys LZW patent for any additional restrictions. Please forward any corrections to firstname.lastname@example.org. @author Kevin Weiner, FM Software; LZW decoder adapted from John Cristy's ImageMagick. @version 1.03 November 2003 Modified by Simon Bridewell, June-July 2009: Downloaded from http://www.thinkedge.com/blogengine/post/2008/02/20/Animated-GIF-Encoder-for-NET-Update.aspx http://www.thinkedge.com/BlogEngine/file.axd?file=NGif_src2.zip 1. Adapted for FxCop code analysis compliance and documentation comments converted to .net XML comments. 2. Added comments relating the properties to data items specified in http://www.w3.org/Graphics/GIF/spec-gif89a.txt 3. Added property getters to expose the components of the GIF file. 4. Refactored large amounts of functionality into separate classes which encapsulate the types of the components of a GIF file. 5. Removed all private declarations which are not components of a GIF file.
GifComponents (Module: GifComponents) Version: 0.1.3594.26453
Reads a GIF file from specified file/URL source (URL assumed if name contains ":/" or "file:")
Reads a GIF file from the specified stream.
Gets the application extensions contained within the GIF stream. This is an array rather than a property because it looks better in a property sheet control.
Gets the background colour.
Gets the status of this component, consisting of its error state and any associated error message.(Inherited from GifComponent.)
Gets the combined error states of this component and all its child components.(Inherited from GifComponent.)
Gets any error message associated with the component's error state.(Inherited from GifComponent.)
Gets the member of the Gif.Components.ErrorState enumeration held within the ComponentStatus property.(Inherited from GifComponent.)
Allows an Object to attempt to free resources and perform other cleanup operations before the Object is reclaimed by garbage collection.(Inherited from Object.)
Gets the frames of the GIF file.
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.)
Gets the Type of the current instance.(Inherited from Object.)
Gets the global colour table for this GIF data stream.
Gets the header of the GIF stream, containing the signature and version of the GIF standard used.
Gets the logical screen descriptor.
Creates a shallow copy of the current Object.(Inherited from Object.)
Gets the Netscape 2.0 application extension, if present. This contains the animation's loop count.
Sets the ComponentStatus property of thie GifComponent.(Inherited from GifComponent.)
Tests whether the error state of this component or any of its member components contains the supplied member of the ErrorState enumeration.(Inherited from GifComponent.)
Gets a string representation of the error status of this component and its subcomponents.(Inherited from GifComponent.)
Throws a NotSupportedException. GifDecoders are only intended to read from, and decode streams, not to write to them.(Overrides GifComponent.WriteToStream(Stream).)