Convert images to save resources