Compute pixels

Computes pixels for an image and returns them as raw bytes or as a GeoTIFF.