Re: SVG to PNG

Bob Friesenhahn <[email protected]> Wed, 18 Nov 2020 11:45:36 -0600 (CST)
Newsgroups gmane.comp.video.graphicsmagick.help
Message-ID <[email protected]>
On Wed, 18 Nov 2020, Pro Turm wrote:

> PS I'm trying to find out where does GM (not the binary but the integrated
> GM sources!) retrieve the path from, in which the type.mgk is supposed to
> be located? In other words if there is no gm installed (on Linux) I would
> have expected that the integrated sources retrieve the type.mgk from the
> top folder config in the source tree ?

Windows is different.  I think that all files are in the same 
directory (including DLLs if it is a DLL-build) for Windows.  This is 
because Windows and Linux are very different. The only "sure thing" in 
Windows is the current directory.

When in doubt set the 'MAGICK_DEBUG' environment variable to 
'configure' and then run the program.  Hopefully it will then tell you 
where it is searching for files, and which files it found.

It is also possible to do

   gm convert -debug configure -list type

but this does not capture 100% of everything.  It does seem to do a 
good job of describing how type.mgk is discovered and loaded.

Bob
-- 
Bob Friesenhahn
[email protected], http://www.simplesystems.org/users/bfriesen/
GraphicsMagick Maintainer,    http://www.GraphicsMagick.org/
Public Key,     http://www.simplesystems.org/users/bfriesen/public-key.txt