Number of characters to put in one line. Defaults to autodetect. Ignored
if -p is used.
- -c <pixels>
- Character cell size. The special values auto and autorect may be used to
- choose an autodetected square or rectangle cell, respectively. Defaults to
- autodetected square. Ignored if -p is used.
+ -c <pixels>[x<pixels>]
+ Character cell size. If only a single number is given, a square cell is
+ used. The special values auto and autorect may be used to choose an
+ autodetected square or rectangle cell, respectively. The default is auto.
+ Ignored if -p is used.
-o <filename>
Output file name. Use - for stdout; the output is a png image, so it's
cellw = strtol(optarg, &ptr, 0);
if(ptr[0]=='x' && isdigit(ptr[1]))
cellh = strtol(ptr+1, NULL, 0);
+ else
+ cellh = cellw;
}
break;
case 'o':