Re: SVG to PNG

Bob Friesenhahn <[email protected]> Fri, 13 Nov 2020 08:16:07 -0600 (CST)
Newsgroups gmane.comp.video.graphicsmagick.help
Message-ID <[email protected]>
On Fri, 13 Nov 2020, Pro Turm wrote:

> HasXML
>
>>> 1) Are there any specific APIs concerning SVG? I couldnt grub any
> specific
>>> documentation page concerning svg.
>>
>> There are no specific APIs.  SVG is just an input file format.
>
> The documentation (http://www.graphicsmagick.org/formats.html) says "*Requires
> libxml2 <http://xmlsoft.org/> and freetype2 <http://www.freetype.org/>*".
> In svg.c there is the  #if defined(HasXML)
> which points to # include <libxml/...h>, which is suppose to to be the
> libxml2-dev ? What is the purpose of the folder *libxml* in GM ? Is it
> supposed to be used in this context?

The 'libxml' subdirectory is only useful for the Windows Visual Studio 
build.  It is indeed libxml2 edited to work with Visual Studio and the 
GraphicsMagick build.

It would be nice if directories like 'libxml' were not in the core 
GraphicsMagick repository but when I was integrating the repository, I 
did not find a good way to assemble a Visual Studio build environment 
from 'parts' at the time.

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