I only used ImageMagick for converting images to different formats before. I decided to learn more about IM, so the following is the first example I tried:
Code: Select all
convert -size 100x100 canvas:khaki canvas_khaki.gif
It does not work! It gives the following error:
convert: no decode delegate for this image format `khaki' @ error/constitute.c/ReadImage/532.
convert: missing an image filename `canvas_khaki.gif' @ error/convert.c/ConvertImageCommand/2970.
However, it is fine if I replace canvas with xc:
Code: Select all
convert -size 100x100 xc:khaki canvas_khaki.gif
Can anyone explain the difference?
Thanks!
Alan