Method 'Identify' of object 'IMagickImage' failed
Posted: 2009-12-29T08:22:49-07:00
Hi,
I'm using Visual Basic 6, and using this code:
Sub Main()
Dim objMi As ImageMagickObject.MagickImage
Dim strTag As String
Set objMi = New ImageMagickObject.MagickImage
strTag = objMi.Identify("-format", "%b", "D:\Temp\example.jpg")
Set objMi = Nothing
End Sub
Executing the code above, I get this error on line 'strTag = ...':
Run-time error '-2147418113 (8000fff)':
Method 'Identify' of object 'IMagickImage' failed
Can anyone help me to solve this problem ?
Thanks in advance,
Mark
I'm using Visual Basic 6, and using this code:
Sub Main()
Dim objMi As ImageMagickObject.MagickImage
Dim strTag As String
Set objMi = New ImageMagickObject.MagickImage
strTag = objMi.Identify("-format", "%b", "D:\Temp\example.jpg")
Set objMi = Nothing
End Sub
Executing the code above, I get this error on line 'strTag = ...':
Run-time error '-2147418113 (8000fff)':
Method 'Identify' of object 'IMagickImage' failed
Can anyone help me to solve this problem ?
Thanks in advance,
Mark