This question is specifically prompted by my using ImageMagick in a challenge, but applies in general. This is somewhat an extension of
All of the IM tools take the same syntax of operations and expressions. However, each tool has a different name and a different default behavior.
convert -resize 50% foo bar
shrinks image foo to half size and saves it to new image file bar
mogrify -resize 50% foo
shrinks image foo to half size and overwrites it with the new version
display -resize 50% foo
shrinks image foo to half size and puts it on the screen
If there is a challenge to resize an image to half size, and it doesn't specify where the output has to go (so that any of the three are valid), is -resize 50%
the whole program? If it does specify that the output has to go to a new file, do I then add 8 bytes for mogrify_
?