export canvas.CanvasPixelArray instead of canvas.PixelArray which is undefined