The attached image throws an unhandled exception in the GifDecoder:
System.ArgumentOutOfRangeException: Colour table size: 64. Index: 255
Parameter name: index
at GifComponents.Components.ColourTable.get_Item(Int32 index)
at GifComponents.Components.GifFrame.GetBaseImage(GifFrame previousFrame, GifFrame previousFrameBut1, LogicalScreenDescriptor lsd, GraphicControlExtension gce, ColourTable act)
at GifComponents.Components.GifFrame.CreateBitmap(TableBasedImageData imageData, LogicalScreenDescriptor lsd, ImageDescriptor id, ColourTable activeColourTable, GraphicControlExtension gce, GifFrame previousFrame, GifFrame previousFrameBut1, GifComponentStatus& status)
at GifComponents.Components.GifFrame..ctor(Stream inputStream, LogicalScreenDescriptor lsd, ColourTable gct, GraphicControlExtension gce, GifFrame previousFrame, GifFrame previousFrameBut1, Boolean xmlDebugging)
at GifComponents.GifDecoder.AddFrame(Stream inputStream, GraphicControlExtension lastGce)
at GifComponents.GifDecoder.ReadContents(Stream inputStream)
at GifComponents.GifDecoder.ReadStream(Stream inputStream)
at GifComponents.GifDecoder.Decode()
at GifInspector.MainForm.LoadGif()
Verified using the app as installed from GifComponents.Setup.0.1.3747.32243.msi
GIF file which breaks the decoder
This is fixed in my local copy now by validating the background colour index from the logical screen descriptor before passing it to the colour table indexer. Not checked in yet.
Fix has now been committed to the repository