display from stdin always creates temp files in current directory?

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
djbcmp
Posts: 8
Joined: 2015-02-05T08:20:54-07:00
Authentication code: 6789

display from stdin always creates temp files in current directory?

Post 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  
djbcmp
Posts: 8
Joined: 2015-02-05T08:20:54-07:00
Authentication code: 6789

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

Post by djbcmp »

Anybody have any ideas?
djbcmp
Posts: 8
Joined: 2015-02-05T08:20:54-07:00
Authentication code: 6789

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

Post by djbcmp »

I have posted this as a bug: viewtopic.php?f=3&t=27687.
Post Reply