Sorry Jos, I assumed from the error that you were on Windows (gasp!). Oddly that command (with the quotes) works perfectly on Windows, but it fails on my debian system with IM 6.3.3 with "unable to parse expression `xx=i'"...
Chris. > -----Original Message----- > From: Jos Vos [mailto:[EMAIL PROTECTED] > Sent: 09 March 2007 14:03 > To: Christopher Roberts > Subject: Re: [magick-users] Examples from "Usage" webpages > produce errors > > > On Fri, Mar 09, 2007 at 01:33:37PM -0000, Christopher Roberts wrote: > > > You have to replace the apostrophes with quotation marks > > > > convert -size 100x100 xc: -fx "xx=i/w-.5; yy=j/h-.5; > > rr=sqrt(xx*xx+yy*yy); 1-rr*1.42" gradient_fx_radial.gif > > This doesn't work either (ImageMagick 6.2.8.0) and that > should not make a difference at all, as the ' and " are > interpreted by the UNIX shell and as there are no shell > variables etc. used, both ' and " will result in the same > string argument after -fx. > > -- > -- Jos Vos <[EMAIL PROTECTED]> > -- X/OS Experts in Open Systems BV | Phone: +31 20 6938364 > -- Amsterdam, The Netherlands | Fax: +31 20 6948204 Important: This email is sent on behalf of Trident Garages Ltd (www.tridentgarages.co.uk). Its contents are confidential to the intended recipient and may be legally privileged. If you are not the intended recipient: (1) you must not disclose, copy or distribute its contents to any other person, nor use its contents in any way; (2) please contact Trident Garages on +44 (0) 1932 874411 quoting the name of the sender and the addressee, then delete it from your system. Please accept our apologies for the inconvenience. Trident has scanned this email for viruses but does not accept any responsibility once this email has been transmitted. You should scan attachments (if any) for viruses. No contract may be concluded on behalf of Trident Garages Ltd, nor service of process accepted, by email. Trident Garages Ltd is registered in England no. 764299. Registered office at Guildford Road, Ottershaw, Surrey KT16 0NZ _______________________________________________ Magick-users mailing list [email protected] http://studio.imagemagick.org/mailman/listinfo/magick-users
