Cameron.

I tried like this:

display = java -Djava.awt.headless=true -jar batik-1.7/batik-rasterizer.jar
-d /tmp/a.png samples/anne.svg 

But i get error: Can open X

I think this is because, I havent set my display variable right.



Cameron McCormack-4 wrote:
> 
> Hi Wolf.
> 
> Woff3:
>> Yes I did, but it didn't worked. 
> 
> Rasterisering while headless seems to work for me:
> 
>   jet:~/work/svn/batik/trunk $ DISPLAY= java -Djava.awt.headless=true -jar
> batik-1.7/batik-rasterizer.jar -d /tmp/a.png samples/anne.svg 
>   About to transcode 1 SVG file(s)
> 
>   Converting anne.svg to /tmp/a.png ... ... success
> 
> How are you invoking the rasteriser?
> 
> -- 
> Cameron McCormack, http://mcc.id.au/
>       xmpp:[EMAIL PROTECTED]  ▪  ICQ 26955922  ▪  MSN [EMAIL PROTECTED]
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
> 
> 
> 

-- 
View this message in context: 
http://www.nabble.com/How-to-use-batik-rasterizer-without-X-tf4881540.html#a14105474
Sent from the Batik - Users mailing list archive at Nabble.com.


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to