remove all file copying code, simply use im.convert to output to the outdir