Add "toBuffer" and "toBlob" methods to the sprite sheet potion