How to display version message from ASP?

ImageMagickObject is a Windows COM+ interface to ImageMagick. COM+, Visual Basic, and Delphi users should post to this discussion group.
Post Reply
janetsmith

How to display version message from ASP?

Post by janetsmith »

Hi,

I would like to display the version message from ASP, because I want to make sure my web hosting provider using the current/latest version. How to do that?

<%
Set img = Server.CreateObject("ImageMagickObject.MagickImage.1")

msg = img.Identify("-version")

Response.Write msg
%>

It just give a blank page.
vincent-angel

Re: How to display version message from ASP?

Post by vincent-angel »

hi everybody,

i re UP this post cause i think i have a similar problem.

How to get message from COM+ object ?

see :

i want to get information of a file so :

Code: Select all

identify -verbose c:\test\001.tif
ok no pb in command line
but with the COM+ i don't know where is going the message

Code: Select all

Set img = CreateObject("ImageMagickObject.MagickImage.1")
msgs = img.identify("-verbose","c:\test\001.tif")
MsgBox "info: " & msgs &" - "&vbCrLf
but getting nothing :(

i think the convert command return 0 if success and any number of error is there is an error
but how to get information about image ?

thanks for your help

regards

Vincent
vincent-angel

Re: How to display version message from ASP?

Post by vincent-angel »

Nobody can help me ? :(

just an idea or an example in vbscript ?

Thanks for help :)
Post Reply