Page 1 of 1

operation name

Posted: 2010-01-25T20:23:45-07:00
by el_supremo
In the docs there is the operation -respect-parentheses but convert does not recognize this, it only accepts -respect-parenthesis.
Could convert be changed to accept the way it is spelled in the docs (since the plural makes more sense)?

Pete

Re: operation name

Posted: 2010-01-25T20:25:26-07:00
by fmw42
el_supremo wrote:In the docs there is the operation -respect-parentheses but convert does not recognize this, it only accepts -respect-parenthesis.
Could convert be changed to accept the way it is spelled in the docs (since the plural makes more sense)?

Pete
Pete,

It used to allow either. The -respect-parentheses was added for the reason you asked. Are you sure they both are not working?

They both seem to be working for me (see http://www.imagemagick.org/Usage/basics ... arenthesis)

These work as advertised for me. (I had to change Gecko to Helvetica as I did not have Gecko font).

convert -pointsize 24 \
-font Candice label:Outside \
\( label:Inside \
-font Helvetica label:Inside \) \
label:Outside -append cmd_settings1.gif


convert -respect-parenthesis -pointsize 24 \
-font Candice label:Outside \
\( label:Inside \
-font Helvetica label:Inside \) \
label:Outside -append cmd_settings2.gif


convert -respect-parentheses -pointsize 24 \
-font Candice label:Outside \
\( label:Inside \
-font Helvetica label:Inside \) \
label:Outside -append cmd_settings3.gif

Fred

Re: operation name

Posted: 2010-01-26T07:39:59-07:00
by el_supremo
Oh rats. I'm using an old version of IM. Time to upgrade.
Thanks Fred.

Pete