Hello,
   
  I'm having some problems using Image Magick (6.2.5 Q16) with an ASP 
application and I was wondering if anyone had similar experiences or problems. 
   
  The problem is that my web pages run fine for a while but randomly I get 
broken images for all the images that I display using ImageMagick to 
manipulate. Images displayed without IM in the same page display fine.
   
  Sometimes I have to restart the Application Pool (IIS 6) to remove the 
problem but sometimes it sorts itself out after a wait and a few browser 
refreshes.
  I'm monitored activity using task Manager and see no evidence in system 
resources as to why this would happen. i.e. Memory doesn't all get used up, CPU 
is OK.
   
  This problem gets worse with an increease in images I display via IM. i.e the 
broken images problem will occur quicker and more frequently.
   
  If anyone has any ideas on what else I could check I'd be really grateful. I 
am not displaying huge amounts of images via IM (this problem ius occuring 
displaying 3 or 4 images).
   
  Exmaple of my code below.
   
  Thanks,
   
  Jay.
   
   
  Example of code: 
   
    dim MagickImage,
  dim image2(2)
   
    Set MagickImage = Server.CreateObject("ImageMagickObject.MagickImage.1")
   
    response.Expires = 0
  response.Buffer  = True
  response.Clear
  Response.ContentType = "image/jpeg" 
   
    data=request("path")   ' Path of image passed in from link.
  image2(0)="JPEG:"
  msg= MagickImage.convert(data,"-resize",50 & "x" & 50,image2)
  Response.BinaryWrite image2
    Response.Flush
   
    set image2 = nothing
  set MagickImage = nothing

 Send instant messages to your online friends http://uk.messenger.yahoo.com 
_______________________________________________
Magick-users mailing list
[email protected]
http://studio.imagemagick.org/mailman/listinfo/magick-users

Reply via email to