hi, i'm using the Apache Batik SVG Rasterizer Library in python, but when i try to convert a svg into png i get this error Gtk-WARNING **: cannot open display:
How can i do to don't use GTK to convert the SVG file
Thanks and sorry for my english!
hi, i'm using the Apache Batik SVG Rasterizer Library in python, but when i try to convert a svg into png i get this error Gtk-WARNING **: cannot open display:
How can i do to don't use GTK to convert the SVG file
Thanks and sorry for my english!
Do you have a code sample. The error indicates that you are performing a plot on a headless/display less system. This may arise not due to an SVG conversion but due to a call to display a plot/window or something similar. The error will go away if you attach monitor or set the DISPLAY variable in the environment.
my code is this
gij --jar batik/batik-rasterizer.jar file.svg
I use GIJ couse is a shared hosting.
Thanks!!