Export imageData buffer and size