with IIS version 6
and ImageMagick 6.3.0
i'm running some code in an asp page:
Code: Select all
<%
dim filePath1, filePath2
filePath1 = "d:\blah\file1.jpg"
filePath2 = "d:\blah\file1_thumb.jpg"
dim FSO
set FSO = server.createObject("scripting.filesystemobject")
if FSO.fileExists(filePath1) then
dim imageFile
set imageFile = FSO.getFile(filePath1)
dim IMG
set IMG = server.createObject("ImageMagickObject.MagickImage.1")
IMG.convert filePath1, "-thumbnail", "75x75", filePath2
set IMG = nothing
imageFile.delete true
end if
set FSO = nothing
%>
Code: Select all
ImageMagickObject.MagickImage.1 error '80041771'
convert: 0xC00000FD: stack overflow
/test.asp, line 12
When i execute this code's equivalent with wscript, I seem to be able to run it infinitely without incident.
If anyone has seen this behavior or could suggest a fix, i would be truly grateful. Thanks!