Add "createImageData" method which returns an object with an array of 0