Converting PDF to JPG fails with no error (Classic ASP)

Post any defects you find in the released or beta versions of the ImageMagick software here. Include the ImageMagick version, OS, and any command-line required to reproduce the problem. Got a patch for a bug? Post it here.
Post Reply
kscnr
Posts: 1
Joined: 2011-12-07T08:41:07-07:00
Authentication code: 8675308

Converting PDF to JPG fails with no error (Classic ASP)

Post by kscnr »

i'm running Windows Server 2003 with imagemagick 6.7.3 Q16 and Ghostscript 9.04 installed. creating a JPG works ok when running a VBS script but fails when running the same script in ASP

-- works
Set img = CreateObject("ImageMagickObject.MagickImage.1")
img.Convert "c:\www\xyz\temp\test.pdf", "c:\www\xyz\temp\test.jpg"
Set img = Nothing

-- fails (no error and no jpg file)
Set img = Server.CreateObject("ImageMagickObject.MagickImage.1")
img.Convert "c:\www\xyz\temp\test.pdf", "c:\www\xyz\temp\test.jpg"
Set img = Nothing

-- fails (no error and no jpg file)
Set img = Server.CreateObject("ImageMagickObject.MagickImage.1")
img.Convert "http://www.somewebsite.com/temp/test.pdf", "c:\www\xyz\temp\test.jpg"
Set img = Nothing
Post Reply