Page 1 of 1

display from stdin always creates temp files in current directory?

Posted: 2015-05-03T12:29:43-07:00
by djbcmp
Whenever I display an image from stdin, like this:

Code: Select all

$ cat myfile.jpg | display -
"display" creates temp files in the current directory, no matter how I set ImageMagick's environment variables MAGICK_TMPDIR, MAGICK_TEMPORARY_PATH, etc. Is there a way to cause these temp files to be created in some other directory?

The temp files have names like "magickh9EMwm". I can see them getting created by monitoring the directory:

Code: Select all

$ inotifywait -m -e create mydirectory
This is on Ubuntu 14.04. Version info:

Code: Select all

$ display --version
Version: ImageMagick 6.7.7-10 2014-03-06 Q16 http://www.imagemagick.org
Copyright: Copyright (C) 1999-2012 ImageMagick Studio LLC
Features: OpenMP  

Re: display from stdin always creates temp files in current directory?

Posted: 2015-05-15T05:13:58-07:00
by djbcmp
Anybody have any ideas?

Re: display from stdin always creates temp files in current directory?

Posted: 2015-05-22T08:00:12-07:00
by djbcmp
I have posted this as a bug: viewtopic.php?f=3&t=27687.