http://gmic.eu/tutorial/_input.shtml says how to build internal list of images for processing. But I can not find how can I load all images that are named like cost01.png, cost02.png, … without long command line construction.
I think that page should contain info how to select multiple images (imagine there is hundred) from command line without additional external scripting.
If you are using the Linux shell, this is not really a problem, as
$ gmic cost*.png
will do what you want (because the shell expand the command line above to gmic cost01.png cost02.png ...). On Windows, the shell sucks :stuck_out_tongue: , so you need to probably to use the command -input_glob` instead :
Thanks. The documentation at http://gmic.eu/reference.shtml says that -ig is for -input_globbing, which is probably an error. Also I can not give a link to -ig exactly, because there is anchor generated. Is the reference generated at all?
That’s a good question. It uses a call to a system function that returns the list of files in a certain order, but which one, that is probably platform-dependent I’ve no idea.