xmlgraphics-batik-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Thomas DeWeese <Thomas.DeWe...@Kodak.com>
Subject Re: Fw: Problem with image - big resolution
Date Tue, 21 Sep 2004 11:39:12 GMT
Hi Maciej,

    The problem is almost certainly that you are running out of memory.
A 5000x7000 pixel image takes ~ 140MB in memory, the default Java
partition is 32-64Mb so clearly it won't fit.  You need to increase
the amount of memory allocated to java with the -Xmx command line
option.

Maciej Świderski wrote:

> 
> Hello again,
>  
> I've fixed this problem with I/O error but a have still problem with 
> this png file.
>  
> Now I have message like this:
> 
> PNG URL is corrupt or unsupported variant:
> 
> file:/D:/Software/eclipse/workspace/test/424B.png
> 
>  
>  
> ----- Original Message -----
> *From:* Maciej Świderski <mailto:swider20@wp.pl>
> *To:* batik-dev@xml.apache.org <mailto:batik-dev@xml.apache.org>
> *Sent:* Tuesday, September 21, 2004 10:41 AM
> *Subject:* Problem with image - big resolution
> 
> Hello,
>  
> I have a big problem with transcode svg that includes a png file, as a 
> raster image, with resolution 7000 - 5000  to png file.when I try to 
> trascode this svg into png file I've got brokenlink image.
>  
> I tried to display some information from Batik and this what I've got:
> 
> file:/D:/Software/eclipse/workspace/test/test.svg:-1
> 
> An I/O error occured while processing the URI:
> 
> "d:/Software/eclipse/workspace/test/424B.png"
> 
> specified on the element <image>
> 
> Size of this png file (that which is included into svg) is 1.5 MB.
> 
> In the svg file there are many files included but only with this one is 
> problem.
> 
> Could any body help me with this??
> 
> Thanks for anything.
> 
> Maciej Swiderski
> 



---------------------------------------------------------------------
To unsubscribe, e-mail: batik-dev-unsubscribe@xml.apache.org
For additional commands, e-mail: batik-dev-help@xml.apache.org


Mime
View raw message