Search found 47 matches
- 2010-01-06T10:56:38-07:00
- Forum: Bugs
- Topic: ImageMagickObject error in VB
- Replies: 3
- Views: 15485
Re: ImageMagickObject error in VB
Since VBScript does not have early binding (e.g you cannot do "Dim omi As New ImageMagickObject.MagickImage" -- only "Dim omi"), you will not be able to reproduce this with VBScript. I tried this with MS VB 2008 Express Edition (free), but it worked fine. I'm sure there are quite...
- 2010-01-06T10:31:41-07:00
- Forum: Windows COM+ & Visual Basic
- Topic: Method 'Identify' of object 'IMagickImage' failed
- Replies: 3
- Views: 17253
Re: Method 'Identify' of object 'IMagickImage' failed
Your code isn't exactly the same.
Change
Dim objMi As ImageMagickObject.MagickImage
to
Dim objMi
Apparently when both early and late binding is done, the early binding still causes problems.
Change
Dim objMi As ImageMagickObject.MagickImage
to
Dim objMi
Apparently when both early and late binding is done, the early binding still causes problems.
- 2010-01-04T12:12:05-07:00
- Forum: Windows COM+ & Visual Basic
- Topic: Convert no longer working with VB
- Replies: 4
- Views: 19901
- 2010-01-04T12:11:04-07:00
- Forum: Windows COM+ & Visual Basic
- Topic: Method 'Convert' of object 'IMagickImage' failed
- Replies: 9
- Views: 44533
Re: Method 'Convert' of object 'IMagickImage' failed
Early binding no longer works. See my post at
viewtopic.php?f=3&t=14461
Feel free to reply to that one as I didn't get very far.
viewtopic.php?f=3&t=14461
Feel free to reply to that one as I didn't get very far.
- 2010-01-04T11:46:49-07:00
- Forum: Bugs
- Topic: ImageMagickObject error in VB
- Replies: 3
- Views: 15485
Re: ImageMagickObject error in VB
Others continue to get this error. Magick, what other details do you need?
Thanks,
Gary
Thanks,
Gary
- 2010-01-04T11:45:32-07:00
- Forum: Windows COM+ & Visual Basic
- Topic: Method 'Identify' of object 'IMagickImage' failed
- Replies: 3
- Views: 17253
Re: Method 'Identify' of object 'IMagickImage' failed
Yes, early binding no longer works. See my post at
viewtopic.php?f=3&t=14461
Feel free to reply to that one as I didn't get very far. I'll bump it, too, to see if I get a response.
viewtopic.php?f=3&t=14461
Feel free to reply to that one as I didn't get very far. I'll bump it, too, to see if I get a response.
- 2009-09-11T12:31:19-07:00
- Forum: Windows COM+ & Visual Basic
- Topic: ImageMagick with VBScript & format option in Convert
- Replies: 5
- Views: 25878
Re: ImageMagick with VBScript & format option in Convert
Sorry, i didn't pay enough attention the first time. I looked at the example script ArrayTest.vbs that comes when the ImageMagickObject is installed. Try this: tmp = imageMagick.Convert("c:/filename.tif", "-colors", "2", "-format", "%c", "histog...
- 2009-09-03T11:18:17-07:00
- Forum: Windows COM+ & Visual Basic
- Topic: ImageMagick with VBScript & format option in Convert
- Replies: 5
- Views: 25878
Re: ImageMagick with VBScript & format option in Convert
There's no reason to still be using output.txt. Remove it and the output will be in tmp.
Code: Select all
Set imageMagick = CreateObject("ImageMagickObject.MagickImage.1")
tmp = imageMagick.Convert("c:/filename.tif","-colors",2,"-format","%c histogram:info:")
- 2009-08-25T07:28:48-07:00
- Forum: Windows COM+ & Visual Basic
- Topic: convert 11x17 into two 8.5 x 11
- Replies: 1
- Views: 11029
Re: convert 11x17 into two 8.5 x 11
You might find some useful examples at
http://www.imagemagick.org/Usage/crop/
Otherwise, post this question in the Users forum where you should get a better response. This forum is primarily for questions specifically about the com+ object.
Gary
http://www.imagemagick.org/Usage/crop/
Otherwise, post this question in the Users forum where you should get a better response. This forum is primarily for questions specifically about the com+ object.
Gary
- 2009-08-19T10:11:57-07:00
- Forum: Bugs
- Topic: ImageMagickObject error in VB
- Replies: 3
- Views: 15485
ImageMagickObject error in VB
I'm using the Windows ImageMagickObject interface with VB6 on Vista Business SP1 32-bit. The problem I am seeing is that using the reference is no longer working the way it used to. On 6.3.6, both Command1 and Command2 work. On 6.5.4, only Command2 works. Command1 returns -2147418113:Method 'Identif...
- 2009-07-22T07:58:04-07:00
- Forum: Windows COM+ & Visual Basic
- Topic: Automation Error
- Replies: 2
- Views: 13618
Re: Automation Error
I do not want to pay attention to warnings. I want ImageMagickObject to disregard the standard error messages (the way the command line does) and return successfully.magick wrote:Add -regard-warnings to your command line. This option means "pay attention to warning messages."
- 2009-07-21T09:28:01-07:00
- Forum: Windows COM+ & Visual Basic
- Topic: Automation Error
- Replies: 2
- Views: 13618
Automation Error
I am getting similar errors posted by others with the newer versions With 6.3.6, oMI.Identify("-format", "%m", "rose:") returns "ROSE" With 6.5.4, I get an error -2147418113 with the description Automation error Catastrophic failure I am running Vista Business...
- 2007-03-15T13:33:51-07:00
- Forum: Users
- Topic: Resizing tiff smaller make image size grow a lot
- Replies: 2
- Views: 10221
Re: Resizing tiff smaller make image size grow a lot
Add "-monochrome -compress group4" to your command. When you resize the tiff, it does things in a "smart" way and probably produces some gray pixels or the like. Forcing it back to monochrome AFTER the resize should do it.
- 2007-03-15T12:35:28-07:00
- Forum: Windows COM+ & Visual Basic
- Topic: Unrecognized option using ImageMagickObject
- Replies: 1
- Views: 17168
Re: Unrecognized option using ImageMagickObject
What is your exact code? Each argument that is usually separated by a space in the command line needs to be a separate argument in your call.
- 2007-02-27T09:15:51-07:00
- Forum: Bugs
- Topic: ImageMagickObject Identify not returning output correctly
- Replies: 0
- Views: 9524
ImageMagickObject Identify not returning output correctly
I have a VBScript file id.vbs Option Explicit Dim oMI Dim sID set oMI = createObject("ImageMagickObject.MagickImage") sID = oMI.Identify ("-ping", WScript.Arguments(0)) WScript.Echo "Output:" WScript.Echo "_" & sID & "_" Running this with &qu...