Search found 2 matches

by Brunus
2017-11-22T07:22:10-07:00
Forum: Users
Topic: [fixed] error message on -distort when running a script without sh call
Replies: 3
Views: 4512

Re: error message on -distort when running a script without sh call


Linux systems need the parentheses escaped; try changing rgba(0,0,0,0) to rgba\(0,0,0,0\)

Also I would try your code with fixed data rather than variables to prove it works.


Thanks Bonzo, but it's not that and it cast one more error :
convert-im6.q16: unrecognized color `rgba\(0,0,0,0)\'

But ...
by Brunus
2017-11-22T03:32:19-07:00
Forum: Users
Topic: [fixed] error message on -distort when running a script without sh call
Replies: 3
Views: 4512

[fixed] error message on -distort when running a script without sh call

Hi all,

I made a shell script of almost 300 lines that create images using ImageMagick.
I run this script on a Debian Linux system.
My first line is : #!/bin/bash

Everything works well when I launch the script with the command line : sh myscript.sh arg
But if I lauch the script without sh it cast ...