hi i am using latest version of imagemagick 6.8.9 in ubantu os .fmw42 wrote:what version of IM are you using?
try adding -respect-parenthesis
Code: Select all
convert -respect-parenthesis sleeves.png pattern.png \ \( -size 440x440 gradient: -solarize 50% -level 0x50% \) \ \( -clone 2 -rotate 90 \) \ \( -clone 2 -clone 3 -compose multiply -composite -negate -scale 440x600! \) \ \( -clone 4 -negate \) \ \( -size 600x440 gradient: -rotate 90 -set colorspace RGB -threshold 50% \) \ \( -clone 4 -clone 5 -clone 6 -compose over -composite -scale 300% -gravity center -crop 440x600+0-30 +repage \) \ \( -clone 1 -clone 7 -alpha set -virtual-pixel transparent -compose displace \ -set option:compose:args -100x-100 -composite \) \ -delete 1-7 \ \( -clone 0 -auto-level \) \ \( -clone 1 -clone 0 -alpha set -virtual-pixel transparent -compose displace \ -set option:compose:args -5x-5 -composite \) \ -delete 0,1 -compose multiply -composite sleeves_pattern21_displace_twice.png
I try your code and this time different pattern generate.
please see url
http://oi57.tinypic.com/lzhno.jpg
Thank you