Manual:$wgImageMagickTempDir

Details
Temporary directory used for ImageMagick.

The directory must exist.

Leave this set to false to let ImageMagick decide for itself.