Why shell out if there is a PERL API for ImageMagic? > See action_external_filter in the mimedefang-filter man page. But you'll > also need to change the entity's MIME type and probably filename. And > efficiency will be very poor.