error processing img options: strconv.Atoi: parsing "writing-te": invalid syntax