Build an image.