what is the function in source code for --pixelize ?
Search for pixelize :
in G’MIC standard library file : https://raw.githubusercontent.com/dtschump/gmic/master/src/gmic_stdlib.gmic
I had found that line in earlier. But that looked like only command line syntax outputs. So it seems like it substitutes the pixelize with the following commandline ?
pixelize : -skip {1=20},{2=1},{3=1} -e[^-1] "Pixelize image? with scales ($1%,$2%,3%)." -v - -repeat ! -l[$>] whd={w},{h},{d} -r $1%,$2%,$3%,100%,2 -r $whd -endl -done -v +
Yes. Actually, most of the G’MIC commands are expressed like that (with the exceptions of native commands that are hard-coded in C++).