i have question regarding the convert and linux command in generate. i need to convert images using imagemagick
i do:
convert -quiet -regard-warnings image.jpg -colorspace RGB +repage /tmp/tempfile.img
that works
now, when i do:
convert $tmpA1 -median 2 -clut $tmpA2
i get:
convert: missing an image filename `/tmp/cartoon_2_17950.mpc' @ error/convert.c/ConvertImageCommand/2970.
after 3 day of searching i found this:
convert \( $tmpA1 -median 2 \) -clut $tmpA2
and it works
what is the purpose of the ( and )??