Hi simon,

> i have developed a yanel resource-type which is using the batik transcoder
> to create png and jpg from svg. on my local computer everything works like a
> charm. after i deployed it on a haedless server i run into a problem. i
> tried Djava.awt.headless=true and xvfb. and a real simple svg worked fine
> but for most cases i get an exception (see below). after this exception was
> thrown even the simple svg which worked before throws the exception.

Maybe you got caught by bug 42408 [1]? Could you try downloading the
source [2] and apply the available patch [1] locally and see if it
helps? Please reply back (or comment on the bug report) if so. ;-)


> Caused by: java.lang.IllegalArgumentException: Color parameter outside of 
> expected range: Alpha Red
>  at java.awt.Color.testColorValueRange(Color.java:298)
[...]
The exception is somehow weird so I'd ask you to attach a simple test
case [3] which reproduces the issue in a reply, so one can see if
that's really what's happening. Thanks! :-)


> any hint would be very much appreciated.

Hope this helps,
 Helder


[1] https://issues.apache.org/bugzilla/show_bug.cgi?id=42408
[2] http://xmlgraphics.apache.org/batik/download.cgi#Subversion+repository
[3] http://webkit.org/quality/reduction.html

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

Reply via email to