xmlgraphics-batik-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From juuser <vessanpon...@hotmail.com>
Subject Re: batik-rasterizer.jar (cant convert jpg from svg)
Date Tue, 27 Nov 2007 07:04:48 GMT

Hi Cameron.

Thanks for your reply.

I am using jre1.6.0_03. I downloaded this packet from sun-sites. (Linux RPM
self-extarcting packet).
And I extracted this packet to the folder: /usr/java/ and my Os Is Fedora 7.







Cameron McCormack-4 wrote:
> 
> Hi.
> 
> juuser:
>> Now when I use batik-rasterizer, I CAN convert svg to png.
>> BUT when I try to convert svg to jpg, I get nasty error:
>> 
>> Converting file.svg to /home/raf/file.jpg ... Exception in thread "main"
>> java.lang.NoClassDefFoundError: com.sun.image.codec.jpeg.JPEGCodec
> …
>> What could cause this error ? 
> 
> The transcoder is trying to use Sun’s JPEG codec classes, which are not
> present.  What JRE are you running Batik on?
> 
> -- 
> Cameron McCormack, http://mcc.id.au/
> 	xmpp:heycam@jabber.org  ▪  ICQ 26955922  ▪  MSN cam@mcc.id.au
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: batik-users-unsubscribe@xmlgraphics.apache.org
> For additional commands, e-mail: batik-users-help@xmlgraphics.apache.org
> 
> 
> 

-- 
View this message in context: http://www.nabble.com/batik-rasterizer.jar-%28cant-convert-jpg-from-svg%29-tf4874855.html#a13965795
Sent from the Batik - Users mailing list archive at Nabble.com.


---------------------------------------------------------------------
To unsubscribe, e-mail: batik-users-unsubscribe@xmlgraphics.apache.org
For additional commands, e-mail: batik-users-help@xmlgraphics.apache.org


Mime
View raw message