Other versions
1. ImageMagick version 6.5.7.3-Q16
2. ghostscript version 8.64
Code: Select all
Command Line
C:>Convert -density 300 test.pdf test.jpg ' OK
Program with ImageMagickObject
<%
Set Img = Server.CreateObject("ImageMagickObject.MagickImage.1")
Img.Convert "test.gif", "test.jpg" ' OK
Img.Convert "-density", "300", "test.pdf", "test2.jpg" ' Nothing happen
%>
I can use asp/com to convert a png or gif to a jpg but not a pdf. And it works on command line.
I think the problem is a security restriction in IIS.
It works fine if I change guest user group to power user group of the Internet Guest Account IUSR_TEST .
I have not found anyone to solve this problem for converting PDF file to JPG file in Windows COM+ & Visual Basic and Developers Board.
What that mean is nobody can use the windows ImageMagickObject with any other languages in windows server.
Any help would be greatly appreciated.