Page 1 of 1

problem with 'fx' operator

Posted: 2007-12-07T11:22:09-07:00
by jbeale
I'm using ImageMagick 6.3.7 11/21/07 Q16 on Win XP. It generally works as expected, but I cannot get the 'fx' operator to work. Here is my attempt to use syntax taken directly from http://www.imagemagick.org/script/fx.php

C:\G>convert image.png -channel red -fx 'u/2.0' image.jpg
convert: unable to parse expression `u'.

I assume the demo syntax was correct at one time? Has the 'fx' functionality been removed from the 16-bit version, or the syntax is different now? Thanks!

Re: problem with 'fx' operator

Posted: 2007-12-07T11:29:30-07:00
by Bonzo
With windows you need to use " not '

Code: Select all

convert image.png -channel red -fx "/2.0" image.jpg

Re: problem with 'fx' operator

Posted: 2007-12-07T11:36:02-07:00
by jbeale
Ah, it is so. Thanks for the speedy reply! works now.