Escaping ( in Mac not working
Posted: 2017-09-11T16:01:25-07:00
Trying a very simple command from the doc's and failing with what I am suspecting is a /( issue.
convert -size 1439x600 gradient:rgba\( 70, 131, 177, 0.85\) -rgba\( 70, 131, 177, 0.3\) ./greenbar.gif
I get:
If I quote it:
I get no errors but also no gradient.
convert -size 1439x600 gradient:rgba\( 70, 131, 177, 0.85\) -rgba\( 70, 131, 177, 0.3\) ./greenbar.gif
I get:
Code: Select all
convert: unrecognized color `(' @ warning/color.c/QueryColorCompliance/2395.
convert: unable to open image '70,': No such file or directory @ error/blob.c/OpenBlob/3146.
convert: no decode delegate for this image format `' @ error/constitute.c/ReadImage/509.
convert: unable to open image '131,': No such file or directory @ error/blob.c/OpenBlob/3146.
convert: no decode delegate for this image format `' @ error/constitute.c/ReadImage/509.
convert: unable to open image '177,': No such file or directory @ error/blob.c/OpenBlob/3146.
convert: no decode delegate for this image format `' @ error/constitute.c/ReadImage/509.
convert: unable to open image '0.85)': No such file or directory @ error/blob.c/OpenBlob/3146.
convert: no decode delegate for this image format `85)' @ error/constitute.c/ReadImage/509.
convert: unrecognized option `-rgba(' @ error/convert.c/ConvertImageCommand/2639.
Code: Select all
convert -size 1439x600 gradient:rgba'(70, 131, 177, 0.85)'-rgba'(70, 131, 177, 0.3)' ./greenbar.gif