Scripts problems - IM and Cygwin

A plethora of command-line scripts that perform geometric transforms, blurs, sharpens, edging, noise removal, and color manipulations.
User avatar
fmw42
Posts: 25562
Joined: 2007-07-02T17:14:51-07:00
Authentication code: 1152
Location: Sunnyvale, California, USA

Re: Scripts problems - IM and Cygwin

Post 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?
el_supremo
Posts: 1015
Joined: 2005-03-21T21:16:57-07:00

Re: Scripts problems - IM and Cygwin

Post 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
Sorry, my ISP shutdown all personal webspace so my MagickWand Examples in C is offline.
See my message in this topic for a link to a zip of all the files.
User avatar
fmw42
Posts: 25562
Joined: 2007-07-02T17:14:51-07:00
Authentication code: 1152
Location: Sunnyvale, California, USA

Re: Scripts problems - IM and Cygwin

Post by fmw42 »

thanks Pete

Fred
Tagomago
Posts: 36
Joined: 2011-02-10T09:55:33-07:00
Authentication code: 8675308

Re: Scripts problems - IM and Cygwin

Post by Tagomago »

Well... thanks for all the effort. I suppose I have settings wrong somewhere?
Post Reply