Page 3 of 3

Re: Scripts problems - IM and Cygwin

Posted: 2011-02-17T11:06:01-07:00
by fmw42
when you used

if [ "06060705" -ge "06040805" ] && echo "true"; then

Did you get the usual error message? If not, try

if [ "06060705" -ge "06040805" ]; then

That is hard code your IM version in each of the conditionals.

Then put in echo statements before the if statement to be sure the arguments you supply are getting used.

echo "spread=$spread, density=$density, curviness=$curviness; seed=$seed; im_version=$im_version"

also write the tmp0 as output so that you can see if it is an approapriate noise image

-write $tmp0 tmp0.png


El_Supremo: can you try my disperse script on your system?

Re: Scripts problems - IM and Cygwin

Posted: 2011-02-17T14:16:47-07:00
by el_supremo
can you try my disperse script on your system?

Code: Select all

./disperse -s 5 -d 5 -c 5 flower.jpg flower_1.jpg
Works perfectly (with no mods to the script). Win 7 Pro x64, IM 6.6.7-4 Q16 and the most recent cygwin.

Pete

Re: Scripts problems - IM and Cygwin

Posted: 2011-02-17T14:44:19-07:00
by fmw42
thanks Pete

Fred

Re: Scripts problems - IM and Cygwin

Posted: 2011-02-18T07:46:49-07:00
by Tagomago
Well... thanks for all the effort. I suppose I have settings wrong somewhere?