add txtimage and txtof options