IMAGE_MOGRIFY — specify path to the ImageMagick mogrify command
Specify full filesystem path to the ImageMagick mogrify command.
ImageMagick's functions are used to perform image manipulation, such as resizing and format conversion (and that's not all, ImageMagick is a very capable tool).
On a case by case basis, Interchange code might attempt an autodetection of the mogrify command location.
Interchange 5.9.0:
Source: code/SystemTag/image.tag
Line 214 (context shows lines 204-218)
my $mgkpath = $newpath; my $ext; $mgkpath =~ s/\.(\w+)$/.mgk/ and $ext = $1; File::Copy::copy($path, $newpath) or do { logError("%s: Unable to create image '%s'", 'image tag', $newpath); last MOGIT; }; my $exec = $Global::Variable->{IMAGE_MOGRIFY}; if(! $exec) { my @dirs = split /:/, "/usr/X11R6/bin:$ENV{PATH}"; for(@dirs) { next unless -x "$_/mogrify";
Source: code/SystemTag/image.tag
Line 220 (context shows lines 210-224)
or do { logError("%s: Unable to create image '%s'", 'image tag', $newpath); last MOGIT; }; my $exec = $Global::Variable->{IMAGE_MOGRIFY}; if(! $exec) { my @dirs = split /:/, "/usr/X11R6/bin:$ENV{PATH}"; for(@dirs) { next unless -x "$_/mogrify"; $exec = "$_/mogrify"; $Global::Variable->{IMAGE_MOGRIFY} = $exec; last; } } last MOGIT unless $exec;