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?".
advlaser
Posts: 4 Joined: 2017-04-17T16:34:52-07:00
Authentication code: 1151
Post
by advlaser » 2017-04-17T16:41:14-07:00
I'm trying just the most basic imdisplay command,
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?
fmw42
Posts: 25562 Joined: 2007-07-02T17:14:51-07:00
Authentication code: 1152
Location: Sunnyvale, California, USA
Post
by fmw42 » 2017-04-17T19:22:01-07:00
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
Post
by advlaser » 2017-04-19T18:35:00-07:00
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.
snibgo
Posts: 12159 Joined: 2010-01-23T23:01:33-07:00
Authentication code: 1151
Location: England, UK
Post
by snibgo » 2017-04-20T01:48:48-07:00
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.
advlaser
Posts: 4 Joined: 2017-04-17T16:34:52-07:00
Authentication code: 1151
Post
by advlaser » 2017-04-20T17:57:56-07:00
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?
snibgo
Posts: 12159 Joined: 2010-01-23T23:01:33-07:00
Authentication code: 1151
Location: England, UK
Post
by snibgo » 2017-04-21T03:21:58-07:00
I suggest you try:
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.
advlaser
Posts: 4 Joined: 2017-04-17T16:34:52-07:00
Authentication code: 1151
Post
by advlaser » 2017-04-23T16:10:24-07:00
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?
snibgo
Posts: 12159 Joined: 2010-01-23T23:01:33-07:00
Authentication code: 1151
Location: England, UK
Post
by snibgo » 2017-04-23T17:14:15-07:00
I gave you one: "-debug all"