fix imagemagick temporary file problem
setting up imagemagick temporary directory in environmental variable. Checks for temporary file deletion
setting up imagemagick temporary directory in environmental variable. Checks for temporary file deletion