compile images