Re: Thanks to the community!

Martin Gainty <[email protected]> Sat, 9 Sep 2017 01:21:11 +0000
Newsgroups gmane.text.xml.batik.user
Message-ID <BLUPR14MB0259761851C2FC38A9B2F7AFAE6A0@BLUPR14MB0259.namprd14.prod.outlook.com>
--_000_BLUPR14MB0259761851C2FC38A9B2F7AFAE6A0BLUPR14MB0259namp_
Content-Type: text/plain; charset="iso-8859-1"
Content-Transfer-Encoding: quoted-printable






________________________________
From: Christopher Schultz <[email protected]>
Sent: Wednesday, September 6, 2017 6:33 PM
To: [email protected]
Subject: Thanks to the community!

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA256

All,

Hi, folks! I just wanted to write a note saying how happy I was when I
grabbed Batik for the first time to convert SVG -> PNG for a project
I'm working on. My assumption going in was that my journey from
"Google java svg convert to png" to working code was going to end in
tears.

Not so.

Here's what I posted to the Mirth Connect Slack channel about 5
minutes after my visit to Google. (I had asked the group there if
anyone had any experience converting from SVG -> PNG and someone
off-handedly suggested Batik).

> I grabbed the latest Batik library and I can happily report the
> following: 1. Batik is still supported. A release was made like 3
> weeks ago. 2. Conversion is stupidly easy. 3. It actually works :)
> 4. The resulting PNG is quite high-quality 4a. All CSS used seems
> to have been respected 4b. Resulting image has a transparent
> background 4c. Resulting image isn't inordinately large 5. The
> conversion was "fast" (wall-clock time... I didn't benchmark it)
>
> This was all with an input SVG that was ~5k in size.

I can't be happier about the result, and I owe it to yet another (!)
Apache community.

MG>since chris is singing your praises
MG>i wonder if batik handles JPEG writing ?
MG>my immediate requirement is to insert IIOMetadata into an existing JPG
MG>or at least write to a new JPG with IIOMetadata tree inserted into the J=
PG
MG>oracle is backing off supporting JPEG classes deprecating the majority o=
f jpeg classes like JPEGImageWriter
MG>is batik a viable alternative for writing JPG classes with IIOMetadata?

Keep up the great work!

Thanks,
- -chris
-----BEGIN PGP SIGNATURE-----
Comment: GPGTools - http://gpgtools.org
Comment: Using GnuPG with Thunderbird - http://www.enigmail.net/

iQIcBAEBCAAGBQJZsHfBAAoJEBzwKT+lPKRYjgEP/j0y0XDad0Ys6cbguEx/qSkl
Qe7qpvtiniTbHUI3pZ5ohQZQsDhvaF+rgH5vO5aWCa/2yyJ1HI1ooQN8jth/UyYv
C5xVkDYRH+GtgHeuIDOi718EoFyUp5qEEyro/wJQa9scpfh0ho4nN4R/+pOfyfOA
CZkhW/hHM1z6/RLKiq26t0ZLZ058ky3sS90sXSG/7Db26BK95HXNavUjXzyxC09V
ppIp332a+Eb+DNnhay6PYS89HaBa/0Nkev0aTCFxoOC61VKYl8qTyqrsac+8+8lN
cLxcWDFeHRrfGlpT9phux5A6JajlkJoSgun56OvPSIRdY/vsn3pVjvYY213HLpk+
QpMEs27QApIURDpHQmIuRC4Ljtc4YYCjsh7lBCHvAO0keSjJBYlPvw9DE7oSFTe0
wZI583EZNtBq2Ipp4SnO02z9IK2O+seRWNkIO6Ylg0cY70XUFT7LErMhlTGpGp9S
IU3i9LaL8n36kfSp7LLja0PI4MYDklEX1mSMh92WFe2vTWC3+EGjK2K0GdQQCTTK
HGUvv6CM7+k0JGlCqEzN8h03YodjGMUktURH6dKojEsq2vFhsRC6waVK/4K8T0Wc
AKoYALdIrKiVNXv9ZnBMiyXvG0k2vAeyc01J0xCnBaDgYFrDEsUQ+a4fTjKRjNIX
IhGbeypfG5JuCcn4oGeo
=3Dz5gx
-----END PGP SIGNATURE-----

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]


--_000_BLUPR14MB0259761851C2FC38A9B2F7AFAE6A0BLUPR14MB0259namp_
Content-Type: text/html; charset="iso-8859-1"
Content-Transfer-Encoding: quoted-printable

<html>
<head>
<meta http-equiv=3D"Content-Type" content=3D"text/html; charset=3Diso-8859-=
1">
<style type=3D"text/css" style=3D"display:none;"><!-- P {margin-top:0;margi=
n-bottom:0;} --></style>
</head>
<body dir=3D"ltr">
<div id=3D"divtagdefaultwrapper" style=3D"font-size:12pt;color:#000000;font=
-family:Arial,Helvetica,sans-serif;" dir=3D"ltr">
<p><br>
</p>
<p><br>
</p>
<div id=3D"Signature"><br>
</div>
<br>
<br>
<div>
<div style=3D"color: rgb(0, 0, 0);">
<hr tabindex=3D"-1" style=3D"display:inline-block; width:98%">
<div id=3D"x_divRplyFwdMsg" dir=3D"ltr"><font face=3D"Calibri, sans-serif" =
color=3D"#000000" style=3D"font-size:11pt"><b>From:</b> Christopher Schultz=
 &lt;[email protected]&gt;<br>
<b>Sent:</b> Wednesday, September 6, 2017 6:33 PM<br>
<b>To:</b> [email protected]<br>
<b>Subject:</b> Thanks to the community!</font>
<div>&nbsp;</div>
</div>
</div>
<font>
<div class=3D"PlainText" style=3D"color: rgb(0, 0, 0); font-size: 10pt;">--=
---BEGIN PGP SIGNED MESSAGE-----<br>
Hash: SHA256<br>
<br>
All,<br>
<br>
Hi, folks! I just wanted to write a note saying how happy I was when I<br>
grabbed Batik for the first time to convert SVG -&gt; PNG for a project<br>
I'm working on. My assumption going in was that my journey from<br>
&quot;Google java svg convert to png&quot; to working code was going to end=
 in<br>
tears.<br>
<br>
Not so.<br>
<br>
Here's what I posted to the Mirth Connect Slack channel about 5<br>
minutes after my visit to Google. (I had asked the group there if<br>
anyone had any experience converting from SVG -&gt; PNG and someone<br>
off-handedly suggested Batik).<br>
<br>
&gt; I grabbed the latest Batik library and I can happily report the<br>
&gt; following: 1. Batik is still supported. A release was made like 3<br>
&gt; weeks ago. 2. Conversion is stupidly easy. 3. It actually works :) <br=
>
&gt; 4. The resulting PNG is quite high-quality 4a. All CSS used seems<br>
&gt; to have been respected 4b. Resulting image has a transparent<br>
&gt; background 4c. Resulting image isn't inordinately large 5. The<br>
&gt; conversion was &quot;fast&quot; (wall-clock time... I didn't benchmark=
 it)<br>
&gt; <br>
&gt; This was all with an input SVG that was ~5k in size.<br>
<br>
I can't be happier about the result, and I owe it to yet another (!)<br>
Apache community.</div>
<div class=3D"PlainText" style=3D"color: rgb(0, 0, 0); font-size: 10pt;"><b=
r>
</div>
<div class=3D"PlainText" style=3D"color: rgb(0, 0, 0); font-size: 10pt;">MG=
&gt;since chris is singing your praises</div>
<div class=3D"PlainText" style=3D"color: rgb(0, 0, 0); font-size: 10pt;">MG=
&gt;i wonder if batik handles JPEG writing ?</div>
<div class=3D"PlainText" style=3D"color: rgb(0, 0, 0); font-size: 10pt;">MG=
&gt;my immediate requirement is to insert IIOMetadata into an existing JPG<=
br>
MG&gt;or at least&nbsp;write to a new JPG with IIOMetadata tree inserted in=
to the JPG<br>
MG&gt;oracle is backing off supporting JPEG classes deprecating the majorit=
y of jpeg classes like JPEGImageWriter</div>
<div class=3D"PlainText"><span style=3D"background-color: rgb(239, 240, 241=
);"><span style=3D"color: rgb(36, 39, 41); font-family: Arial, Helvetica, s=
ans-serif, EmojiFont, &quot;Apple Color Emoji&quot;, &quot;Segoe UI Emoji&q=
uot;, NotoColorEmoji, &quot;Segoe UI Symbol&quot;, &quot;Android Emoji&quot=
;, EmojiSymbols; font-size: 13.3333px; white-space: pre-wrap;">MG&gt;is
 batik a</span><font color=3D"#242729" face=3D"Consolas, Menlo, Monaco, Luc=
ida Console, Liberation Mono, DejaVu Sans Mono, Bitstream Vera Sans Mono, C=
ourier New, monospace, sans-serif"><span style=3D"font-size: 13px; white-sp=
ace: pre-wrap;"> viable alternative for
 writing JPG classes with IIOMetadata?</span></font></span></div>
<div class=3D"PlainText"><br>
<span style=3D"font-size: 10pt;">Keep up the great work!</span><br>
<br>
<span style=3D"font-size: 10pt;">Thanks,</span><br>
<span style=3D"font-size: 10pt;">- -chris</span><br>
<span style=3D"font-size: 10pt;">-----BEGIN PGP SIGNATURE-----</span><br>
<span style=3D"font-size: 10pt;">Comment: GPGTools - </span><a href=3D"http=
://gpgtools.org" id=3D"LPlnk965951" previewremoved=3D"true" style=3D"color:=
 rgb(0, 0, 0); font-size: 10pt;">http://gpgtools.org</a><br>
<span style=3D"font-size: 10pt;">Comment: Using GnuPG with Thunderbird - </=
span><a href=3D"http://www.enigmail.net/" id=3D"LPlnk602840" previewremoved=
=3D"true" style=3D"color: rgb(0, 0, 0); font-size: 10pt;">http://www.enigma=
il.net/</a><br>
<br>
<span style=3D"font-size: 10pt;">iQIcBAEBCAAGBQJZsHfBAAoJEBzwKT&#43;lPKRYjg=
EP/j0y0XDad0Ys6cbguEx/qSkl</span><br>
<span style=3D"font-size: 10pt;">Qe7qpvtiniTbHUI3pZ5ohQZQsDhvaF&#43;rgH5vO5=
aWCa/2yyJ1HI1ooQN8jth/UyYv</span><br>
<span style=3D"font-size: 10pt;">C5xVkDYRH&#43;GtgHeuIDOi718EoFyUp5qEEyro/w=
JQa9scpfh0ho4nN4R/&#43;pOfyfOA</span><br>
<span style=3D"font-size: 10pt;">CZkhW/hHM1z6/RLKiq26t0ZLZ058ky3sS90sXSG/7D=
b26BK95HXNavUjXzyxC09V</span><br>
<span style=3D"font-size: 10pt;">ppIp332a&#43;Eb&#43;DNnhay6PYS89HaBa/0Nkev=
0aTCFxoOC61VKYl8qTyqrsac&#43;8&#43;8lN</span><br>
<span style=3D"font-size: 10pt;">cLxcWDFeHRrfGlpT9phux5A6JajlkJoSgun56OvPSI=
RdY/vsn3pVjvYY213HLpk&#43;</span><br>
<span style=3D"font-size: 10pt;">QpMEs27QApIURDpHQmIuRC4Ljtc4YYCjsh7lBCHvAO=
0keSjJBYlPvw9DE7oSFTe0</span><br>
<span style=3D"font-size: 10pt;">wZI583EZNtBq2Ipp4SnO02z9IK2O&#43;seRWNkIO6=
Ylg0cY70XUFT7LErMhlTGpGp9S</span><br>
<span style=3D"font-size: 10pt;">IU3i9LaL8n36kfSp7LLja0PI4MYDklEX1mSMh92WFe=
2vTWC3&#43;EGjK2K0GdQQCTTK</span><br>
<span style=3D"font-size: 10pt;">HGUvv6CM7&#43;k0JGlCqEzN8h03YodjGMUktURH6d=
KojEsq2vFhsRC6waVK/4K8T0Wc</span><br>
<span style=3D"font-size: 10pt;">AKoYALdIrKiVNXv9ZnBMiyXvG0k2vAeyc01J0xCnBa=
DgYFrDEsUQ&#43;a4fTjKRjNIX</span><br>
<span style=3D"font-size: 10pt;">IhGbeypfG5JuCcn4oGeo</span><br>
<span style=3D"font-size: 10pt;">=3Dz5gx</span><br>
<span style=3D"font-size: 10pt;">-----END PGP SIGNATURE-----</span><br>
<br>
<span style=3D"font-size: 10pt;">------------------------------------------=
---------------------------</span><br>
<span style=3D"font-size: 10pt;">To unsubscribe, e-mail: batik-users-unsubs=
[email protected]</span><br>
<span style=3D"font-size: 10pt;">For additional commands, e-mail: batik-use=
[email protected]</span><br>
<br>
</div>
</font></div>
</div>
</body>
</html>

--_000_BLUPR14MB0259761851C2FC38A9B2F7AFAE6A0BLUPR14MB0259namp_--