IMdisplay error

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
advlaser
Posts: 4
Joined: 2017-04-17T16:34:52-07:00
Authentication code: 1151

IMdisplay error

Post by advlaser »

I'm trying just the most basic imdisplay command,

Code: Select all

IMdisplay wizard.jpg
and I get the error
IMDisplayDoc function [DoReadImage] reported a warning imdisplay.exe: UnableToOpenConfigureFile 'magic.xml' @ warning/configure.c/GetConfigureOptions/715
I get this when I display any file. Any ideas?
Marvin Masson
www.advlaser.com
User avatar
fmw42
Posts: 25562
Joined: 2007-07-02T17:14:51-07:00
Authentication code: 1152
Location: Sunnyvale, California, USA

Re: IMdisplay error

Post by fmw42 »

What is your IM version and platform? Please always provide that when asking questions. How did you install IM -- from binary or from source and which version of binary? Is it compatible with your Windows OS?
advlaser
Posts: 4
Joined: 2017-04-17T16:34:52-07:00
Authentication code: 1151

Re: IMdisplay error

Post by advlaser »

I'm running Windows 7, 32bit with ImageMagick-7.0.5-4-Q16-x86-static - installed binary. So I'm pretty sure it's compatible.
Marvin Masson
www.advlaser.com
snibgo
Posts: 12159
Joined: 2010-01-23T23:01:33-07:00
Authentication code: 1151
Location: England, UK

Re: IMdisplay error

Post by snibgo »

advlaser wrote:UnableToOpenConfigureFile 'magic.xml'
This suggests a major problem. Perhaps IM files have been deleted or moved. Do other IM commands work? Eg:

Code: Select all

magick rose: r.png
magick r.png r.jpg
A re-installation would probably fix the problem.
snibgo's IM pages: im.snibgo.com
advlaser
Posts: 4
Joined: 2017-04-17T16:34:52-07:00
Authentication code: 1151

Re: IMdisplay error

Post by advlaser »

I tried your example above and I get the same error. I deleted my initial installation and reinstalled imagemajick. Still the same error.

K:\ImageMagick>magick rose: r.png
magick: UnableToOpenConfigureFile `magic.xml' @ warning/configure.c/GetConfigureOptions/715.

Magic.xml is in the imagemagick directory and I can edit it via notepad and save changes. Any other ideas?
Marvin Masson
www.advlaser.com
snibgo
Posts: 12159
Joined: 2010-01-23T23:01:33-07:00
Authentication code: 1151
Location: England, UK

Re: IMdisplay error

Post by snibgo »

I suggest you try:

Code: Select all

magick -debug all rose: r.png
This should write a load of text, including an error message. This will include something about where it is looking to find your config files. Then try:

Code: Select all

magick -debug all rose: r.png >dbg.txt
This will write that text to a file dbg.txt. Paste the contents of that file here.
snibgo's IM pages: im.snibgo.com
advlaser
Posts: 4
Joined: 2017-04-17T16:34:52-07:00
Authentication code: 1151

Re: IMdisplay error

Post by advlaser »

I tried your example above and I get the same error. I deleted my initial installation and reinstalled imagemajick. Still the same error.

K:\ImageMagick>magick rose: r.png
magick: UnableToOpenConfigureFile `magic.xml' @ warning/configure.c/GetConfigureOptions/715.

Magic.xml is in the imagemagick directory and I can edit it via notepad and save changes. Any other ideas?
Marvin Masson
www.advlaser.com
snibgo
Posts: 12159
Joined: 2010-01-23T23:01:33-07:00
Authentication code: 1151
Location: England, UK

Re: IMdisplay error

Post by snibgo »

I gave you one: "-debug all"
snibgo's IM pages: im.snibgo.com
Post Reply