ImageMagickObject is a Windows COM+ interface to ImageMagick. COM+, Visual Basic, and Delphi users should post to this discussion group.
-
DannyGM
Post
by DannyGM »
Hello,
Sorry about my grammar, English isn't my tang.
I am tring to create images on the file on my ASP dynamic website.
This is the source code:
Code: Select all
<%
set x=createobject ("wscript.shell")
set a=x.exec("C:\CANDELETE\VisualMagick\bin\convert.exe logo: -")
response.contentType="image/GIF"
response.write binaryWrite a.stdOut.readall
%>
I get some data from the server, but it's not an image.
Any one have idea?
Thank you.
-
DannyGM
Post
by DannyGM »
I didn't solve but,
But I success to use the object in ASP pages:
Code: Select all
Set img = CreateObject("ImageMagickObject.MagickImage.1")
Dim myArray(0)
myArray(0)="JPG:"
Response.contentType="image/JPEG"
l=img.convert ("logo:","-resize","250X250","-quality","1",myArray)
response.binaryWrite myArray
This page show the ImageMagick Logo resized and in low quailty.
Thank you to all the members in the forum.