Page 1 of 1

The effect of + and - before options

Posted: 2017-06-30T19:46:36-07:00
by djd
In another post, snibgo mentioned something of which I was not aware but is useful to know. Snibgo wrote:
"Most, if not all, settings have "+" option to set the default value."

If this is the case, then maybe `antialias' is an exception as when creating an image, the default behaviour is to antialias the edge pixels and +antialias turns off the antialiasing.

Re: The effect of + and - before options

Posted: 2017-06-30T19:58:02-07:00
by fmw42
The + and - options can work differently for different functions, unfortunately. And in the case of antialias, it seems to be backwards from one's assumptions about + adding and - subtracting. Typically - enables the option and + disables the option. However, for example, -distort produce output of the same size as the input, whereas +distort can create a larger output. Not all options or settings have a + form.

Re: The effect of + and - before options

Posted: 2017-07-01T04:40:29-07:00
by snibgo
Yeah, I should scrub that statement, and replace it with:
"Some settings have "+" option to set the default value."

Other settings where "+" doesn't restore the default include: depth, dither, format, fuzz, and probably others.