create image that can be written to SD card.