Claus,
I don't think you can use a clone as an output image. It is typically
used as copies of already created images for use as input to some
function. There is no such thing as clone2. The syntax is -clone 2
and would refer to the third image in the command line sequence which
should already exist.
See
http://www.imagemagick.org/Usage/basics/#sequence
Claus Cyrny wrote:
--- script --
#!/bin/sh
convert $infile -colorspace HSB -channel R -separate $tmp0
convert vertigo_0011.png -colorspace HSB -channel G -separate $tmp1
This should read 'convert $infile -colorspace HSB -channel G -separate
$tmp'.
convert $infile -colorspace HSB -channel B -separate $tmp2
convert $infile -colorspace HSB -channel RGB -separate +channel \
\( +clone -edge 2.5 -gaussian-blur 2 \
\ $tmp2 -mask clone2 \
\ $tmp2 -unsharp 2 \
\ $tmp2 > clone \
This should read '\ $tmp2 > clone 2 \'. (Btw, is 'clone 2' an actual
filename, or
is it just a placeholder for the cloned channel?)
_______________________________________________
Magick-users mailing list
[email protected]
http://studio.imagemagick.org/mailman/listinfo/magick-users