image magick temp folder

Questions and postings pertaining to the usage of ImageMagick regardless of the interface. This includes the command-line utilities, as well as the C and C++ APIs. Usage questions are like "How do I use ImageMagick to create drop shadows?".
Post Reply
chanoy

image magick temp folder

Post by chanoy »

Hi,

Is there a way to change the location of image magick's temp folder for windows static build? I know you can set an environment var, MAGICK_TMPDIR, but is there set it so that it doesn't rely on env. var.?

So say I have a static build, and I want to take it to another computer to do convert. I would like to use a folder inside the folder that I brought over as tmp dir.

Thanks,
User avatar
magick
Site Admin
Posts: 11064
Joined: 2003-05-31T11:32:55-07:00

Re: image magick temp folder

Post by magick »

Currently ImageMagick relies on environment variables to choose the path for temporary files. It obtains the path from one of these variables: MAGICK_TMPDIR, TMPDIR, TMP (Windows), or TEMP (Windows). If none of these are defined, it uses the P_tmpdir define.
Post Reply