User:Ans/potrace

$ potrace --merge file1 file2 file3 ... $ cat file[123] | potrace --merge "merge" seem to has no appropriate meaning, use "stack" instead $ cat file[123] | potrace --stack potrace --stack -C ... ? potrace --stack --opaque is almost useless $ potrace --stack -C average|median?|mode(most_feq)|mid[range] mid = (min+max)/2 mode[+{avg,med,mid}] mode: not count individual rgb? but need hash? use perl? $ potrace -C #rrggbb,#rrggbb,average,mid,#rrggbb,#rrggbb,...

average: may overflow? (4096x4096) median: need sort mode: need hash mid: cal min/max, very easy

include  $ cat file.pnm P5 ...
 * 1) !potrace -C #... -k n -i --opaque --fillcolor #...
 * 1) !potrace -C #... -k n -i --opaque --fillcolor #...

$ potrace -C ...,... --getopt ,,!potrace

$ potrace -C #...,#...,#... <-- not easy for pipelining External program should modify the ppm to has 2 color?

$ potrace --stack file1 file2 file3 ... What if file2 has concatenated bitmat?