img dir for output.