def getGraphicsControlExt(duration=0.1):
 bb = '!\xf9\x04'
 bb += '\x08'
 bb += intToBin(int((duration * 100)))
 bb += '\x00'
 bb += '\x00'
 return bb

def getGraphicsControlExt ( duration = 0.1 ) : bb = '!\xf9\x04' bb += '\x08' bb += intToBin ( int ( ( duration * 100 ) ) ) bb += '\x00' bb += '\x00' return bb
graphics control extension .