Page 1 of 1

Question about command defaults

Posted: 2006-03-23T18:32:09-07:00
by ridera
Documentation states several commands have a default.
How do I designate it?

e.g., -unsharp

I've tried
-unsharp without any parameter
-unsharp ""
etc.

Nothing seems to work.

Posted: 2006-03-23T18:35:03-07:00
by magick
The image attributes have defaults, like the default bordercolor. For image operators you need to specify a parameter. Most of the kernel operators will choose a good radius and sigma for the kernel if the parameter is 0x1 (e.g. -unsharp 0x1).

Posted: 2006-03-23T18:43:37-07:00
by ridera
Is there a list of the defaults for the various commands.

For example I can't find "0x1" in the documentaion. And, I wouldn't have guessed it.

Seems like the documention should include the default values.

Posted: 2006-03-23T22:24:24-07:00
by anthony
0x1 is not a option, it is an argument to the -unsharp option.

Basically it says to use the unsharp algorthim on a radius of one pixel.