Temporary file permission problem with convert
Posted: 2007-06-20T05:45:36-07:00
I am calling the ImageMagickObject from an ASP program as follows:
Set objIM = CreateObject("ImageMagickObject.MagickImage.1")
sFilename = "G:\Mike\PhotoShop\pages\CD-2007-06-14-A01-ASection.pdf"
sJpgFilename = "G:\Mike\PhotoShop\pages\CD-2007-06-14-A01-ASection.jpg"
sResult = objIM.Convert(sFilename, "-resize", "x500", sJpgFilename)
and I get the following error:
convert: 430: unable to create temporary file `G:\Mike\PhotoShop\pages\CD-2007-06-14-A01-ASection.pdf': Permission denied:
convert: 410: missing an image filename `G:\Mike\PhotoShop\medium\CD-2007-06-14-A01-ASection.jpg':
The program does have R/W access to G:\Mike\PhotoShop\pages\. Is ImageMagick writing temporary file(s) to some other work folder?
Set objIM = CreateObject("ImageMagickObject.MagickImage.1")
sFilename = "G:\Mike\PhotoShop\pages\CD-2007-06-14-A01-ASection.pdf"
sJpgFilename = "G:\Mike\PhotoShop\pages\CD-2007-06-14-A01-ASection.jpg"
sResult = objIM.Convert(sFilename, "-resize", "x500", sJpgFilename)
and I get the following error:
convert: 430: unable to create temporary file `G:\Mike\PhotoShop\pages\CD-2007-06-14-A01-ASection.pdf': Permission denied:
convert: 410: missing an image filename `G:\Mike\PhotoShop\medium\CD-2007-06-14-A01-ASection.jpg':
The program does have R/W access to G:\Mike\PhotoShop\pages\. Is ImageMagick writing temporary file(s) to some other work folder?