Creating images for Spark