Skip to content
Advertisement

How do I find imagemagick temp folder in linux?

I am new to Imagemagick and linux. How do I find temp folder of in linux. I am using Imagemagick with liferay.

JavaScript

Advertisement

Answer

The easiest way, is to look for any environment variables that you have set, e.g.:

  • MAGICK_TEMPORARY_PATH
  • MAGICK_TMPDIR

by running:

JavaScript

Else, if you haven’t set any environment variable, do something that will force ImageMagick to use disk. So, for example:

JavaScript

That shows you that my machine is using /var/tmp.

User contributions licensed under: CC BY-SA
4 People found this is helpful
Advertisement