keep image in memory