2d canvas pixels are in rgba format