Rasterized image is (totally or partially) blank

2014-07-04 Thread pcantare
Hi everybody, I'm using the transcoder functionality of batik 1.7 with more or less the same code as in the batik page examples: Transcoder transcoder = new JPEGTranscoder(); transcoder.addTranscodingHint(SVGAbstractTranscoder.KEY_WIDTH, xResolution);

Re: Rasterized image is (totally or partially) blank

2014-07-07 Thread pcantare
I found the solution, for those who might encounter the same issue. For some reason I can't understand, if the SVGDocument doesn't have width and height, SVGAbstractTranscoder.KEY_WIDTH and SVGAbstractTranscoder.KEY_HEIGHT are also used to determine the area to be rasterized and not only the pixel