Yes. The common unix convention for program arguments is to list options and then filenames, and "--" prevents programs from thinking that filenames that start with "-" are options. This is great for "filter" programs that have exactly one input and one output.
But ImageMagick can take any number of input and output filenames (eg 10,000), with options that apply to some filenames, and options that apply to intermediate results, and so on. So IM adopted a convention more like a programming language, where all operations (including reading and writing files) are given in the order they should be performed.
With that convention, leaving the filenames to the end makes no sense.
IM v6 didn't enforce that convention, and still accepted the unix format of leaving filenames to the end.
IM v7 does enforce the sequencing order, so "--" is redundant.
Sadly (in my view), IM distinguishes between filenames and options by "-", so filenames usually cannot start with "-". However, IM v7 has explicit read and write operations, so we can do this:
Code: Select all
magick -read rose: -write -x.png -exit
magick -read -x.png x2.png