added image reprocessing