add ProcessLastOnly - process only the last image.