Help escaping quotation characters in bash string #7264
-
ImageMagick version7.1.1-30 Operating system, version and so onLinux DescriptionHi,
but I get the error: I understand the easier way would be to not use the x variable at all but I have a bunch of these and I only want to generate the image once based on which string is chosen. |
Beta Was this translation helpful? Give feedback.
Replies: 3 comments
-
Is there some reason you must use a variable to set it up. Can you not just do
|
Beta Was this translation helpful? Give feedback.
-
I was trying to write something akin to a "payload" that I could pick and have magick render it like this:
I've read over https://imagemagick.org/Usage/draw/ and their examples of how to escape characters but I can't seem to find an example of how to pass something like this x="-draw 'text, 0,0'" Thanks for your help by the way. |
Beta Was this translation helpful? Give feedback.
-
Well I feel dumb. All I was missing was an eval
Problem solved. |
Beta Was this translation helpful? Give feedback.
Well I feel dumb. All I was missing was an eval
Problem solved.