Hi Maciej,
Did you try increasing the memory allocated to Java/Batik as I suggested the last time you asked about this?
This should solve your problem.
BTW rasterizing only a portion won't help because Batik will still load the entire 5000x7000 image (for almost all formats, it might not for Tiff).
Maciej Świderski wrote:
Hello,
I have really big problem with raster in svg. I would like to transcode svg file into png file but raster in the svg file has big resolution about(7000, 5000).
And during transcode there is a OutOfMemoryError.
So the only solution I find out is to specify area of this image that I would like to have in my png file (not whole file).
And here is another problem! How can I get the coordinates of which area should batik take from file.
Or perhaps there is another solution for my problem
Thanks.
Maciej Swiderski
--------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]