Lines Matching defs:gif
5 package gif
49 // encoder encodes an image to the GIF format.
56 g GIF
65 // blockWriter writes the block structure of GIF image data, which
188 e.err = errors.New("gif: cannot encode image block with empty palette")
194 e.err = errors.New("gif: image block is too large to encode")
198 e.err = errors.New("gif: image block is out of bounds")
289 // EncodeAll writes the images in g to w in GIF format with the
291 func EncodeAll(w io.Writer, g *GIF) error {
293 return errors.New("gif: must provide at least one image")
297 return errors.New("gif: mismatched image and delay lengths")
304 // The GIF.Disposal, GIF.Config and GIF.BackgroundIndex fields were added
306 // in a GIF struct literal, should still produce valid GIFs.
308 return errors.New("gif: mismatched image and disposal lengths")
316 return errors.New("gif: GIF color model must be a color.Palette")
339 // Encode writes the Image m to w in GIF format.
344 return errors.New("gif: image is too large to encode")
370 // frame completely fills the overall GIF's bounds.
377 return EncodeAll(w, &GIF{