Re: building graphicsmagick 1.3.38 on Windows

LM <[email protected]> Fri, 22 Apr 2022 15:34:56 -0400
Newsgroups gmane.comp.video.graphicsmagick.core
Message-ID <CAFipMOHLJ9hAv88posuPCyUGOVs_v8WeGgTZ_vZByimJjM-PCg@mail.gmail.com>
--===============2929336854145708086==
Content-Type: multipart/alternative; boundary="000000000000f196eb05dd4352d6"

--000000000000f196eb05dd4352d6
Content-Type: text/plain; charset="UTF-8"

On Sun, Apr 17, 2022 at 5:02 PM Bob Friesenhahn <
[email protected]> wrote:

> If you have control of the SVG sources then you are able to test and
>
>> see how well things work.
>>
>
>
I started testing GraphicsMagick to see how well it handled SVG.  I tried
converting the SVG file to PNG and checking if the drawing was
recognizable.  I tested against the three sample programs that come with
nanosvg.  GraphicsMagick handled two of the three nanosvg samples as well
as nanosvg does.  The third sample was the tiger head that a lot of
graphics programs use for demonstrating vector graphics.  It failed to
convert and gave the warning "Negative or zero image size".  When I tried
to convert the output from abcm2ps from svg to png, I also got error
messages.  There's a reference to currentColor and GraphicsMagick gives the
error "Non-conforming drawing primitive definition (fill)".  There's also a
command in the SVG file ( <use x="22.00" y="93.00" xlink:href="#tclef"/> )
and the error is "invalid primitive argument (Primitive "use" id "tclef"
not defined)".  I modified currentColor to #000000 in the file and I
removed the use line and I was able to get a graphic that was fairly close
to the original SVG.  I'm wondering if it would be worthwhile to try to
find work-arounds in the code for the commands that are erroring out in the
conversion.  It would be really incredible to have something that could
convert abcm2ps SVGs to a format that's more easily viewable on systems
that may not have browsers with SVG capability or other complex SVG
rendering programs installed.  Except for the error messages/issues,
GraphicsMagick did a really great job in converting these files.  They look
really good.

Sincerely,
Laura

--000000000000f196eb05dd4352d6
Content-Type: text/html; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable

<div dir=3D"ltr"><div class=3D"gmail_quote">On Sun, Apr 17, 2022 at 5:02 PM=
 Bob Friesenhahn &lt;<a href=3D"mailto:[email protected]" target=
=3D"_blank">[email protected]</a>&gt; wrote:<br><blockquote clas=
s=3D"gmail_quote" style=3D"margin:0px 0px 0px 0.8ex;border-left:1px solid r=
gb(204,204,204);padding-left:1ex"><div dir=3D"ltr"><div class=3D"gmail_quot=
e">If you have control of the SVG sources then you are able to test and <br=
><blockquote class=3D"gmail_quote" style=3D"margin:0px 0px 0px 0.8ex;border=
-left:1px solid rgb(204,204,204);padding-left:1ex">
see how well things work.<br></blockquote><br></div></div></blockquote><div=
><br></div><div>I started testing GraphicsMagick to see how well it handled=
 SVG.=C2=A0 I tried converting the SVG file to PNG and checking if the draw=
ing was recognizable.=C2=A0 I tested against the three sample programs that=
 come with nanosvg.=C2=A0 GraphicsMagick handled two of the three nanosvg s=
amples as well as nanosvg does.=C2=A0 The third sample was the tiger head t=
hat a lot of graphics programs use for demonstrating vector graphics.=C2=A0=
 It failed to convert and gave the warning &quot;Negative or zero image siz=
e&quot;.=C2=A0 When I tried to convert the output from abcm2ps from svg to =
png, I also got error messages.=C2=A0 There&#39;s a reference to currentCol=
or and GraphicsMagick gives the error &quot;Non-conforming drawing primitiv=
e definition (fill)&quot;.=C2=A0 There&#39;s also a command in the SVG file=
 ( &lt;use x=3D&quot;22.00&quot; y=3D&quot;93.00&quot; xlink:href=3D&quot;#=
tclef&quot;/&gt; ) and the error is &quot;invalid primitive argument (Primi=
tive &quot;use&quot; id &quot;tclef&quot; not defined)&quot;.=C2=A0 I modif=
ied currentColor to #000000 in the file and I removed the use line and I wa=
s able to get a graphic that was fairly close to the original SVG.=C2=A0 I&=
#39;m wondering if it would be worthwhile to try to find work-arounds in th=
e code for the commands that are erroring out in the conversion.=C2=A0 It w=
ould be really incredible to have something that could convert abcm2ps SVGs=
 to a format that&#39;s more easily viewable on systems that may not have b=
rowsers with SVG capability or other complex SVG rendering programs install=
ed.=C2=A0 Except for the error messages/issues, GraphicsMagick did a really=
 great job in converting these files.=C2=A0 They look really good.</div><di=
v><br></div><div>Sincerely,</div><div>Laura</div><div><br></div><div><br></=
div><div><br></div></div></div>

--000000000000f196eb05dd4352d6--


--===============2929336854145708086==
Content-Type: text/plain; charset="us-ascii"
MIME-Version: 1.0
Content-Transfer-Encoding: 7bit
Content-Disposition: inline


--===============2929336854145708086==
Content-Type: text/plain; charset="us-ascii"
MIME-Version: 1.0
Content-Transfer-Encoding: 7bit
Content-Disposition: inline

_______________________________________________
Graphicsmagick-core mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/graphicsmagick-core

--===============2929336854145708086==--