by dlitz · 10y ago · 0 comments
Right now, "convert a.jpg b.png" passes the strings "a.jpg" and "b.png" to ImageMagick's convert command, but that command is free to open whatever files it wants, since there's no distinction between strings vs resources such as filenames, network sockets, etc.
You can do this with pipes in simple cases, and bash has some support for this, but it's very primitive and the syntax is cumbersome.
No comments yet.