class_docstr: Class that for helping write the animated GIF file. This is based on
  code from images2gif.py (part of visvis). The version here is modified
  to allow streamed writing.
class_docstr_tok: ["Class","that","for","helping","write","the","animated","GIF","file",".","This","is","based","on","code","from","images2gif.py","(","part","of","visvis",")",".","The","version","here","is","modified","to","allow","streamed","writing","."]
docstr: Get animation header. To replace PILs getheader()[0]
docstr_tok: ["Get","animation","header",".","To","replace","PILs","getheader","(",")","[","0","]"]
code: def getheaderAnim(self, im):
      """Get animation header. To replace PILs getheader()[0]"""
      bb = b"GIF89a"
      bb += intToBin(im.size[0])
      bb += intToBin(im.size[1])
      bb += b"\x87\x00\x00"
      return bb
  
file_path: imageio/imageio/plugins/pillowmulti.py
imports: import logging
  import numpy
  from .pillow_legacy import PillowFormat, image_as_uint, ndarray_to_pil
label_desc: Use image node_id 6 for calling the GifWriter obj's underlying member method code with example usage: obj.getheaderAnim(im) and returns: bb