Package: imagemagick Version: 7:6.2.4.5.dfsg1-1 Severity: normal The ternary operator does not seem to work. The following command is supposed to create a half black, half red picture:
% convert -size 64x64 xc:red -fx '(i<32)?0:u' foo.png However the resulting image here is half cyan, half red. It seems '1-u' is being used instead of '0' for i<32. I cannot assign a value to a symbol: % convert -size 64x64 xc:red -channel RGB -fx 'q=1.0;u' foo.png convert: unable to parse expression `q'. These two restrictions are making -fx rather useless for anything slightly more elaborate than '(u+v)/2.0'. -- System Information: Debian Release: lenny/sid APT prefers unstable APT policy: (500, 'unstable'), (50, 'experimental') Architecture: i386 (i686) Kernel: Linux 2.6.20.1 (PREEMPT) Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8) Shell: /bin/sh linked to /bin/bash Versions of packages imagemagick depends on: ii libbz2-1.0 1.0.3-7 high-quality block-sorting file co ii libc6 2.5-8 GNU C Library: Shared libraries ii libfreetype6 2.2.1-5 FreeType 2 font engine, shared lib ii libice6 1:1.0.3-2 X11 Inter-Client Exchange library ii libjasper1 1.900.1-3 The JasPer JPEG-2000 runtime libra ii libjpeg62 6b-13 The Independent JPEG Group's JPEG ii liblcms1 1.16-5 Color management library ii libmagick9 7:6.2.4.5.dfsg1-1 Image manipulation library ii libpng12-0 1.2.15~beta5-2 PNG library - runtime ii libsm6 2:1.0.3-1 X11 Session Management library ii libtiff4 3.8.2-7 Tag Image File Format (TIFF) libra ii libx11-6 2:1.0.3-7 X11 client-side library ii libxext6 1:1.0.3-2 X11 miscellaneous extension librar ii libxml2 2.6.28.dfsg-1 GNOME XML library ii libxt6 1:1.0.5-3 X11 toolkit intrinsics library ii zlib1g 1:1.2.3-15 compression library - runtime imagemagick recommends no packages. -- no debconf information -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]