Minor change to stop multiple images being created then deleted

Hopefully this should obviate the need to issue a delete 1--1 command to ImageMagick.