Issues with CMD ImageMagick 7.0.4 Q16 (32-bit) (fresh install)

Questions and postings pertaining to the usage of ImageMagick regardless of the interface. This includes the command-line utilities, as well as the C and C++ APIs. Usage questions are like "How do I use ImageMagick to create drop shadows?".
Post Reply
User avatar
XnTriq
Posts: 30
Joined: 2014-08-04T13:31:03-07:00
Authentication code: 6789

Issues with CMD ImageMagick 7.0.4 Q16 (32-bit) (fresh install)

Post by XnTriq » 2017-02-14T20:12:54-07:00

I just installed the following version of IM:
ImageMagick 7.0.4 Q16 (32-bit)

The install prompted me to (text/verify) two strings in CMD, which I did below. As you can see they failed, so I guess before I dive in I'd better get my install correct. Note: I'm going to be upgrading to Win 7 Pro 64-Bit soon, but for now I am still on XP Pro. :mrgreen:

Code: Select all

Microsoft Windows XP [Version 5.1.2600]
<C> Copyright 1985-2001 Microsoft Corp.

C:\WINDOWS\system32>
At which point I type

Code: Select all

magick wizard: wizard.jpg (ENTER)
and get

Code: Select all

'magick' is not recognized as an internal or external command,
operable program or batch file.
I next try
C:\WINDOWS\system32>

Code: Select all

magick wizard.jpg win: (ENTER)
and get

Code: Select all

'magick' is not recognized as an internal or external command,
operable program or batch file.

C:\WINDOWS\system32>
(2[Bb]|[^2].|.[^Bb])
That is the question.

snibgo
Posts: 11573
Joined: 2010-01-23T23:01:33-07:00
Authentication code: 1151
Location: England, UK

Re: Issues with CMD ImageMagick 7.0.4 Q16 (32-bit) (fresh install)

Post by snibgo » 2017-02-14T21:10:11-07:00

At IM installation, there was a prompt for the installation directory, something like "C:\program files\ImageMagick". There was also a tickbox for whether to add this to your system path.

You can check whether magick.exe is in that directory with the dir command. Also check your path with the path command.

If the directory isn't on the path, you can add it through Windows or reinstall IM.

Perhaps the installation program can't automatically add the path with Windows XP. So if the above doesn't cure the problem, say so and I'll guide you through it.
snibgo's IM pages: im.snibgo.com

User avatar
XnTriq
Posts: 30
Joined: 2014-08-04T13:31:03-07:00
Authentication code: 6789

Re: Issues with CMD ImageMagick 7.0.4 Q16 (32-bit) (fresh install)

Post by XnTriq » 2017-02-16T17:43:32-07:00

snibgo thanks. I didn't check that box because (to the extent possible) I never store either my programs or my files on the/a hard disk drive containing the OS. This is a good time for me to give you all some technical stuff about my computer . . .
OS Windows . . . assigned its own HDD
OS Linux . . . assigned its own HDD
PROGRAMS . . . assigned their own HDD, heavily partitioned with 3 Primary + 1 Logical
EASEL . . . assigned its own HDD
I will be completing a new 64-Bit Win 7.0 Pro build and assigning Windows my preferred drive letter for it (Y:\) but for the purposes of this thread I'm using C for XP:
  1. C:\ = XP OS
  2. P:\ = Graphics Programs, and
  3. E:\ = Working Graphics Drive (“Easel”) for my own Originals & Mods
PATHS:
  • C:\WINDOWS
  • P:\GRAPHIX\IMAGE MAGICK
  • E:\!GO
BATCH PROCESS & OUTPUT ALL THE FILES IN MY EASEL FOLDER E:\ZZZZZZ to E:\!GO:
Each file leads with the letter for that set followed by 5 sequential numbers starting with 98.
The generated files need to be stored to Folder E:\!GO.
And the numbers need to be generated using zero fills (eg.) . . .
  • E:\!GO\z00098
  • E:\!GO\z00099
  • E:\!GO\z00100
  • E:\!GO\z00101
To be continued! :mrgreen:
(2[Bb]|[^2].|.[^Bb])
That is the question.

snibgo
Posts: 11573
Joined: 2010-01-23T23:01:33-07:00
Authentication code: 1151
Location: England, UK

Re: Issues with CMD ImageMagick 7.0.4 Q16 (32-bit) (fresh install)

Post by snibgo » 2017-02-16T18:10:16-07:00

It doesn't matter what drive and directory you install IM in. But if that drive+directory isn't on your system path, the command "magick" won't find magick.exe.

The "!" character has a special meaning to Windows. It can be used in filenames and directories, but it is unwise to do so (because of enabledelayedexpansion).
snibgo's IM pages: im.snibgo.com

Post Reply