Search found 289 matches

by whugemann
2011-08-20T04:41:32-07:00
Forum: Users
Topic: Newb: IM and Excel VBA
Replies: 8
Views: 26482

Re: Newb: IM and Excel VBA

I just thought of different solution for your problem: You could simply avoid using the ImageMagick Object and write a simple text file, say Test.txt, in ImageMagick's TXT format: # ImageMagick pixel enumeration: 3,3,65535,rgb 0,0: (65535,65535,65535) 1,0: (65535,65535,65535) 2,0: (65535,65535,65535...
by whugemann
2011-08-20T01:45:26-07:00
Forum: Users
Topic: Newb: IM and Excel VBA
Replies: 8
Views: 26482

Re: Newb: IM and Excel VBA

I would like to try to access the COM+ object from Excel VBA, too, but I cannot figure out how to install the COM+ object. http://www.imagemagick.org/www/ImageMagickObject.html claims it to be part of the Window installation, but I can't see that. When installing the binary releases (either dynamica...
by whugemann
2011-08-16T00:43:24-07:00
Forum: Users
Topic: Trouble converting images from the command line
Replies: 7
Views: 16571

Re: Trouble converting images from the command line

Anthony, I have just tested the hint that is given at the page that you linked; it doesn't do the trick. On our server, the paths are set correctly. I de-installed ImageMagick and GhostScript completely and then installed the newest versions of first GhostScript and then ImageMagick, both 64 bit. I ...
by whugemann
2011-08-15T10:38:52-07:00
Forum: Bugs
Topic: Reading PDFs fails under Windows 64 bit
Replies: 1
Views: 3868

Reading PDFs fails under Windows 64 bit

I think this is a genuine bug in the interplay between IM and GhostScript, as several persons have reported by now in the users forum. (See also the last post frome jonez). I couldn't get it to work either. I asked some colleagues who regulary work under Windows 64 bit (at our office, it's only the ...
by whugemann
2011-08-14T05:05:50-07:00
Forum: Users
Topic: diffence in text.txt using vbscript
Replies: 2
Views: 5966

Re: diffence in text.txt using vbscript

Your problem basically has nothing to do with VBScript, it's just about using Compare correctly. So you might strip it down to the real question. It doesn't really help the solution if you provide source code spiced with input in your mother language. This is an international forum. As said in http:...
by whugemann
2011-08-14T04:33:00-07:00
Forum: Users
Topic: how to figure out (calculate) the translation of 2 images
Replies: 7
Views: 15644

Re: how to figure out (calculate) the translation of 2 image

You should consider using JImage, readily packed to Fiji, in order to do that. This program offers this feature as a ready-made extension. I have tested it a video project it an found it doing a very effective job. Fiji knows picture stacks as input entitites. The funtionality is called "regist...
by whugemann
2011-08-10T23:18:34-07:00
Forum: Users
Topic: Trouble converting images from the command line
Replies: 7
Views: 16571

Re: Trouble converting images from the command line

Wolfgang : Perhaps you like to submit something about Ghostscript and Registry to the IM Examples Windows Usage page. Well, I intend to. (The Windows Usage page needs an update anyway.) But as you can tell by my "64 bit question", I still have some questions that could be answered more ea...
by whugemann
2011-08-10T19:43:38-07:00
Forum: Users
Topic: Finding out whether 32 or 64 bit version is installed
Replies: 1
Views: 4022

Finding out whether 32 or 64 bit version is installed

I have asked this before in some other thread and didn't get an answer: Is there any way to find out whether the IM version installed on an 64 bit system is 32 or 64 bit? I often get asked about IM problems by colleagues from other cities, working with Windows batch files I wrote. It would help the ...
by whugemann
2011-08-10T19:09:08-07:00
Forum: Users
Topic: Adding system date & time to a photo
Replies: 3
Views: 9283

Re: Adding system date & time to a photo

The system time is stored in the environment variable %TIME%. So a batch file taking the filename as a parameter would be: convert %1 -pointsize 15 -fill white -annotate +60+400 %TIME% %~dpn1_time%~x1 In a more flexible approach, you can store the result of any DOS command in a variable, so: SETLOCA...
by whugemann
2011-08-10T18:48:02-07:00
Forum: Users
Topic: Calculation of the focal length (in one run)
Replies: 10
Views: 17341

Re: Calculation of the focal length (in one run)

Eval however is 'dangerous' and a major security hazard . It is something to be avoided as much as possible as it is far to 'general purpose'! For example what if a hacker sets a special focal length string that was designed to 'crack' your photo web application! I know about the security problems ...
by whugemann
2011-08-10T11:29:18-07:00
Forum: Users
Topic: Calculation of the focal length (in one run)
Replies: 10
Views: 17341

Re: Calculation of the focal length (in one run)

I think your last examples doesn't work because the slash has a special meaning in filenames. When I created a subdirectory named "rose-70" before calling the IM command, it stored a file named "46.png" into it.
by whugemann
2011-08-10T11:17:52-07:00
Forum: Users
Topic: Trouble converting images from the command line
Replies: 7
Views: 16571

Re: Trouble converting images from the command line

I'm meeting the same problem under Windows Server 2008 R2. Obviously, something is going wrong with the GhostScript call initiated by ImageMagick, but I can't figure out what's going wrong here. The program file of GhostScript's 64 bit version is called gswinc32.exe, just like that of the 32 bit ver...
by whugemann
2011-08-10T09:41:16-07:00
Forum: Users
Topic: Calculation of the focal length (in one run)
Replies: 10
Views: 17341

Calculation of the focal length (in one run)

I am working on a Windows batch file that performs a correction for lens distortion. At the start, I have to identify the focal length of the photograph by identify -format "%[EXIF:FocalLength]" testimage.jpg Typically, EXIF data on focal length is given as a fraction, i.e. something like ...
by whugemann
2011-08-02T08:21:18-07:00
Forum: Users
Topic: Why IM is several times slower than IrfanView?
Replies: 5
Views: 12871

Re: Why IM is several times slower than IrfanView?

I will end up writing a C# console app that would run these commands from the C# app. Is this the right way to do it? That sounds needlessly complicated to me. Why don't you run just a DOS batch file within a DOS box? Again, I would recommend that you study the examples on the page linked below in ...