You are viewing a plain text version of this content. The canonical link for it is here.
Posted to batik-users@xmlgraphics.apache.org by Kazunari Inoue <bi...@mb1.kisweb.ne.jp> on 2001/11/12 08:01:19 UTC
How to user rasterizer.jar ?
I've been used rasterizer.jar, but I can't tranlate from SVG into JPEG.
(Exactly, I can translate, but the translated JPEG is empty contents. )
I do the follow.
" java -jar rasterizer.jar -d MyDir -m image/jpg foo.svg " .
Please teach me how to use rasterizer.jar .
I have the follow environment.
Environment: J2SDK 1.4 beta3, Batik 1.0
At last, I'm sorry for no good English.
Thanks!
--
Kinki University
Interdisciplinary Graduate School of Science and Technology.
Infomation System Laboratory.
Kazunari Inoue
birth@mb1.kisweb.ne.jp
---------------------------------------------------------------------
To unsubscribe, e-mail: batik-users-unsubscribe@xml.apache.org
For additional commands, e-mail: batik-users-help@xml.apache.org
Re: Re2.: Can't translate from SVG into JPEG.
Posted by Torsten Knodt <to...@datas-world.de>.
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
Hello,
> > I don't know if this JPEG bug in java is really the problem,
> > but I could be. I'm also waiting for beta 4.
> I thought this problem is happened by me, since I could export JPEG by
> using batik-browser.
Interesting. Exporting JPEG in the batik-browser fails on all three systems
I've tested with java 1.4 beta3, but it works with java 1.3.
With kind regards
Torsten Knodt
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.0.6 (GNU/Linux)
Comment: For info see http://www.gnupg.org
iD8DBQE78PlevxZktkzSmiwRAokiAJ9XcGbkf/ML1HvAEzI26EZvDEitxACfS6Lo
HgWA1Jkp06Y/K8o2TCaHFlg=
=INhn
-----END PGP SIGNATURE-----
---------------------------------------------------------------------
To unsubscribe, e-mail: batik-users-unsubscribe@xml.apache.org
For additional commands, e-mail: batik-users-help@xml.apache.org
Re2.: Can't translate from SVG into JPEG.
Posted by Kazunari Inoue <bi...@mb1.kisweb.ne.jp>.
Hello,
> I don't know if this JPEG bug in java is really the problem,
> but I could be. I'm also waiting for beta 4.
>
I thought this problem is happened by me, since I could export JPEG by using batik-browser.
I'll intend to apply batik library to use servlet.
If I have no way in "j2sdk 1.4 beta3" I'll watitng for resolving this in "next java release".
Thanks!
With regards.
Kazunari Inoue
---------------------------------------------------------------------
To unsubscribe, e-mail: batik-users-unsubscribe@xml.apache.org
For additional commands, e-mail: batik-users-help@xml.apache.org
Re: Can't translate from SVG into JPEG.
Posted by Torsten Knodt <to...@datas-world.de>.
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
Hello,
> What do you think I can't translate into JPEG only ?
I have the same problem with java 1.4. There is a bug in java 1.4 itself. The
bug has been fixed, but the new version isn't avalaible yet. I don't know if
this JPEG bug in java is really the problem, but I could be. I'm also waiting
for beta 4.
With kind regards
Torsten Knodt
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.0.6 (GNU/Linux)
Comment: For info see http://www.gnupg.org
iD8DBQE78AbivxZktkzSmiwRAkmhAJ46Uv4gPiyw1f5gio0HE1D4WZiiQACeP+0Z
Juk86MrxsaBr+rzUbj11CSo=
=YbOa
-----END PGP SIGNATURE-----
---------------------------------------------------------------------
To unsubscribe, e-mail: batik-users-unsubscribe@xml.apache.org
For additional commands, e-mail: batik-users-help@xml.apache.org
Can't translate from SVG into JPEG.
Posted by Kazunari Inoue <bi...@mb1.kisweb.ne.jp>.
Hi, Thomas. Thank you for your replay.
At Mon, 12 Nov 2001 08:27:23 -0500
Thomas E Deweese <th...@kodak.com> wrote:
Thomas > % java -jar batik-rasterizer.jar -d /tmp/ -m image/jpg samples/batikLogo.svg
Thomas > About to transcode 1 SVG file(s)
I did similarly. But the resulut is follow.
$ ls -la
-rw-r--r-- 1 k_inoue 4339 Nov 12 22:46 batikLogo.jpg
Translating from SVG into PNG and TIFF are successful.
$ ls -al
-rw-r--r-- 1 k_inoue 32479 Nov 12 22:46 batikLogo.png
-rw-r--r-- 1 k_inoue 900646 Nov 12 22:46 batikLogo.tiff
So, translated files(BatikLogo.jpg and BatikLogo.png) placed in the
follow URL.
http://chocolate.is.kindai.ac.jp/~k_inoue/tf.html
What do you think I can't translate into JPEG only ?
-------------
Infomation System Laboratory
Kazunari Inoue < birth@mb1.kisweb.ne.jp>
Kinki University.
Interdisciplinary Graduate School
of Science and Technology
---------------------------------------------------------------------
To unsubscribe, e-mail: batik-users-unsubscribe@xml.apache.org
For additional commands, e-mail: batik-users-help@xml.apache.org
How to user rasterizer.jar ? ( correction )
Posted by Thomas E Deweese <th...@kodak.com>.
>>>>> "KI" == Kazunari Inoue <bi...@mb1.kisweb.ne.jp> writes:
>>
>> " java -jar rasterizer.jar -d MyDir -m image/jpg foo.svg " .
>>
KI> Sorry.
KI> "rasterizer.jar" is incorrect discription.
KI> Certainly, this is "batik-rasterizer.jar".
Well I certainly use this all the time:
% java -jar batik-rasterizer.jar -d /tmp/ -m image/jpg samples/batikLogo.svg
About to transcode 1 SVG file(s)
Converting batikLogo.svg to /tmp/batikLogo.jpg ... ERROR: The JPEG quality has not been specified. Use the default one: no compression
... success
% ls -l /tmp/batikLogo.jpg
-rw-r--r-- 1 tdeweese 48180 Nov 12 08:21 /tmp/batikLogo.jpg
Viewing the results also has no problem. Perhaps the problem is with
your SVG file? If it is small you could attach it.
---------------------------------------------------------------------
To unsubscribe, e-mail: batik-users-unsubscribe@xml.apache.org
For additional commands, e-mail: batik-users-help@xml.apache.org
How to user rasterizer.jar ? ( correction )
Posted by Kazunari Inoue <bi...@mb1.kisweb.ne.jp>.
>
> " java -jar rasterizer.jar -d MyDir -m image/jpg foo.svg " .
>
Sorry.
"rasterizer.jar" is incorrect discription.
Certainly, this is "batik-rasterizer.jar".
--
Kinki University
Interdisciplinary Graduate School of Science and Technology.
Infomation System Laboratory.
Kazunari Inoue
birth@mb1.kisweb.ne.jp
---------------------------------------------------------------------
To unsubscribe, e-mail: batik-users-unsubscribe@xml.apache.org
For additional commands, e-mail: batik-users-help@xml.apache.org