IM 6.8.0.6 Q16 Mac OSX Snow Leopard
The following command (simplified from my script) does not seem to work -- the result is all white:
fp=`convert xc: -format "%[fx:1/7]" info:`
fm=`convert xc: -format "%[fx:-1/7]" info:`
convert zelda3.jpg -duplicate 10 -poly "$fp,1 $fp,1 $fp,1 $pf,1 $fp,1 $fp,1 $fp,1 $fp,1 $fp,1 $fm,1 $fm,1" show:
It was meant to replace the following that does work fine:
convert zelda3.jpg -duplicate 10 -fx "(u[0]+u[1]+u[2]+u[3]+u[4]+u[5]+u[6]+u[7]+u[8]-u[9]-u[10])/7" show:
On the other hand -- this works fine:
convert zelda3.jpg -duplicate 10 -evaluate multiply $fp -poly "1,1 1,1 1,1 1,1 1,1 1,1 1,1 1,1 1,1 -1,1 -1,1" show:
Am I misunderstanding something about using variables as arguments with -poly?
[RESOLVED] possible bug -poly IM 6.8.0.6 Q16
- fmw42
- Posts: 25562
- Joined: 2007-07-02T17:14:51-07:00
- Authentication code: 1152
- Location: Sunnyvale, California, USA
[RESOLVED] possible bug -poly IM 6.8.0.6 Q16
Last edited by fmw42 on 2012-11-25T17:14:10-07:00, edited 1 time in total.
Re: possible bug -poly IM 6.8.0.6 Q16
Check your -poly argument carefully. You should find your mistake within just a few seconds.
- fmw42
- Posts: 25562
- Joined: 2007-07-02T17:14:51-07:00
- Authentication code: 1152
- Location: Sunnyvale, California, USA
Re: possible bug -poly IM 6.8.0.6 Q16
magick wrote:Check your -poly argument carefully. You should find your mistake within just a few seconds.
Got it! I looked at it several times before reporting. But my fingers must have dislexia. Thanks. Sorry for the false alarm.