Search found 47 matches

by spieler
2016-08-08T10:17:12-07:00
Forum: Windows COM+ & Visual Basic
Topic: Identify and Convert using VB Script
Replies: 8
Views: 124698

Re: Identify and Convert using VB Script

I cannot explain why you are getting the error on your last example unless that file truly does not exist. I ran a script from one directory passing the path to a file in another directory and it worked fine. Instead of using the Name property, you can use the Path property and then you shouldn't ...
by spieler
2016-08-04T09:30:45-07:00
Forum: Windows COM+ & Visual Basic
Topic: Identify and Convert using VB Script
Replies: 8
Views: 124698

Re: Identify and Convert using VB Script

That's a great workaround. I might have to give that a try!

That sounded vaguely familiar, so I found my previous post on it. Feel free to reply to it, but don't hold your breath for a response.
viewtopic.php?f=3&t=8550
by spieler
2015-07-13T07:20:36-07:00
Forum: Windows COM+ & Visual Basic
Topic: error converting tif to jpg
Replies: 2
Views: 96866

Re: error converting tif to jpg

What results do you get when you run the test script at C:\Program Files\ImageMagick-6.9.1-Q8\ImageMagickObject\Tests ?

It's also important to note what bit version your end application is. If it's 32-bit, you need install the 32-bit version of ImageMagick.
by spieler
2015-07-13T07:14:51-07:00
Forum: Windows COM+ & Visual Basic
Topic: ImageMagickObject - 32 vs 64 bit
Replies: 3
Views: 111782

ImageMagickObject - 32 vs 64 bit

There's been an ample amount of discussion lately for the ImageMagickObject (IMO) lately. Until recently, I've been in the same camp, but believe I now have a better understanding of how it is working. Assuming this is being installed on a 64-bit system, the most important consideration is whether ...
by spieler
2015-01-13T11:34:36-07:00
Forum: Windows COM+ & Visual Basic
Topic: ImageMagickObject no more supported?
Replies: 2
Views: 91900

Re: ImageMagickObject no more supported?

I am having the same problem. I have an older version 6.8.4 that still works fine, but my 6.9.0 is broken. I've tried all my usual tricks and it's just not working. For 64 bit OS, I install the 32 bit version. Running VB6, it works fine. For running VBScript instead of simply double-clicking, I run ...
by spieler
2014-07-22T11:52:50-07:00
Forum: Bugs
Topic: Error on every command
Replies: 1
Views: 6487

Re: Error on every command

Since you're running from VB6, you may need to install the 32 bit version and not the 64 bit version.
by spieler
2014-07-22T11:50:47-07:00
Forum: Windows COM+ & Visual Basic
Topic: Install to server 2012 fails
Replies: 1
Views: 90245

Re: Install to server 2012 fails

I'm in the process of installing on 2012 with the ImageMagickObject as well. When I installed the 64 bit version, I received a nice generic -2147215503 error when trying to run SimpleTest.vbs. In your case, you may have installed the 32 bit version. The default in windows is to use 64 bit wscript ...
by spieler
2010-11-15T14:37:20-07:00
Forum: Windows COM+ & Visual Basic
Topic: Com+ syntax for resizing images?
Replies: 4
Views: 22797

Re: Com+ syntax for resizing images?

Are you cleaning up your object properly? If not, that might be causing some memory problems? Another option, although probably not preferred is to call out tom the command line instead of using the object. The command line is solid, although the object has worked pretty reliably for me for a while ...
by spieler
2010-11-15T13:11:28-07:00
Forum: Windows COM+ & Visual Basic
Topic: Com+ syntax for resizing images?
Replies: 4
Views: 22797

Re: Com+ syntax for resizing images?

Your code looks fine -- each argument needs to be it's own parameter like you have done it. Please try this from the command line. The magickcmd command is a wrapper around the Com+ object. identify logo: magickcmd convert logo: -resize 80x60 temp.png identify temp.png On my system I get logo:=>LOGO ...
by spieler
2010-11-09T15:22:35-07:00
Forum: Users
Topic: Win32 8-bit binary
Replies: 4
Views: 13839

Re: Win32 8-bit binary install

Hi magick, could you please comment on the windows binary distribution question that has been raised? What was the rationale for having a win64 Q8, but not a win32 Q8?

Thanks,
Gary
by spieler
2010-11-03T12:09:38-07:00
Forum: Users
Topic: Win32 8-bit binary
Replies: 4
Views: 13839

Re: Win32 8-bit binary

I am also looking for the win32 Q8 dll version. We're simply processing tiffs and jpegs so all we need is the Q8 version, so I'd rather not have to use the extra precision and overhead of the Q16 version. It seems strange there is an 64-bit Q8, but no 32-bit Q8. I appreciate Drarakel sharing his ...
by spieler
2010-07-20T12:18:08-07:00
Forum: Windows COM+ & Visual Basic
Topic: +profile syntax in Vbscript
Replies: 2
Views: 17279

Re: +profile syntax in Vbscript

Each item needs to be a different parameter in your function call. I did not test the following, but it should go something like sReslt = oIM.Convert("E:\test1.tif","-profile","C:\Profile1.icc","-profile","C:\Profile2.icc","+profile","!icc,*","E:\test1.jpg") All on one line of course.
by spieler
2010-01-14T14:55:37-07:00
Forum: Bugs
Topic: ImageMagickObject Identify not returning output correctly
Replies: 0
Views: 5219

ImageMagickObject Identify not returning output correctly

See http://www.imagemagick.org/discourse-server/viewtopic.php?f=8&t=15329 for more details. I created a file called test.js var im = WScript.CreateObject("ImageMagickObject.MagickImage.1"); var msgs = im.Identify("rose:"); WScript.Echo("\"" + msgs + "\""); //SimpleTestIdentify.vbs var msgs = im ...
by spieler
2010-01-14T14:50:08-07:00
Forum: Windows COM+ & Visual Basic
Topic: JScript and identify
Replies: 3
Views: 19610

Re: JScript and identify

I tried MagickCMD on a couple of different computers and it didn't work either place. What I did do was create a file called test.js var im = WScript.CreateObject("ImageMagickObject.MagickImage.1"); var msgs = im.Identify("rose:"); WScript.Echo("\"" + msgs + "\""); //See SimpleTestIdentify.vbs var ...
by spieler
2010-01-12T11:39:01-07:00
Forum: Windows COM+ & Visual Basic
Topic: JScript and identify
Replies: 3
Views: 19610

Re: JScript and identify

I've had varying degrees of success with MagickCmd, so I wouldn't be too worried about that. I don't recall every having received an actual error message from it. That being said, I ran your jscript and it worked fine on my machine. I'm currently on 6.5.4-10 on Vista. What version are you on? Also ...