Posted: 2006-11-20T18:35:48-07:00
Use delegates to spawn an external process to convert an image format not natively supported by ImageMagick to one that is or from an image format that is natively supported to one that is not. As an example, we use dcraw to convert the CR2 image format to TIFF. The XML looks like this:
- <delegate decode="cr2" thread-support="False" command='"/usr/local/bin/dcraw" -T -w -c "%i" > "%o"' />
- convert cr2:image.cr2 image.png