keep first generated images for using in jpg2lines