Dynamic sizing of gifencoder and canvas to graphic's width and height.