Re: outofmemory error in batik transcoder

2003-10-23 Thread Thomas DeWeese
ge- From: Thomas DeWeese [mailto:[EMAIL PROTECTED] Sent: Thursday, October 23, 2003 1:30 PM To: Batik Users Subject: Re: outofmemory error in batik transcoder GVS Srinivas wrote: hi, i am sorry if i conveyed that tiffencoding is not solving my problem.infact as mentioned in my earlier mail,i did

RE: outofmemory error in batik transcoder

2003-10-23 Thread GVS Srinivas
hi, thanks a lot .i will try that now.but what is "img" and "sm" in (GraphicsUtil.wrap(img), sm) cheers GVS -Original Message- From: Thomas DeWeese [mailto:[EMAIL PROTECTED] Sent: Thursday, October 23, 2003 1:30 PM To: Batik Users Subject: Re: outofmemory error in ba

Re: outofmemory error in batik transcoder

2003-10-23 Thread Thomas DeWeese
StackTrace(); } === -Original Message- From: Thomas DeWeese [mailto:[EMAIL PROTECTED] Sent: Thursday, October 23, 2003 12:34 PM To: Batik Users Subject: Re: outofmemory error in batik transcoder GVS Srinivas wrote: t

RE: outofmemory error in batik transcoder

2003-10-23 Thread GVS Srinivas
== -Original Message- From: Thomas DeWeese [mailto:[EMAIL PROTECTED] Sent: Thursday, October 23, 2003 12:34 PM To: Batik Users Subject: Re: outofmemory error in batik transcoder GVS Srinivas wrote: > thanks for the suggestion of tif

Re: outofmemory error in batik transcoder

2003-10-23 Thread Thomas DeWeese
an you post the code you are using to encode the image? GVS -Original Message- From: GVS Srinivas Sent: Wednesday, October 22, 2003 3:55 PM To: 'Batik Users' Subject: RE: outofmemory error in batik transcoder i saw this snippet of code ===

RE: outofmemory error in batik transcoder

2003-10-23 Thread GVS Srinivas
- From: GVS Srinivas Sent: Wednesday, October 22, 2003 3:55 PM To: 'Batik Users' Subject: RE: outofmemory error in batik transcoder i saw this snippet of code OutputStream out = new FileOutputStream(fileName); TIFFE

RE: outofmemory error in batik transcoder

2003-10-22 Thread GVS Srinivas
as DeWeese [mailto:[EMAIL PROTECTED] Sent: Wednesday, October 22, 2003 12:56 PM To: Batik Users Subject: Re: outofmemory error in batik transcoder GVS Srinivas wrote: > thanks for the input thomas, > i think saving image of size 400 mb of an image cant be afforded by us. Well, you might

Re: outofmemory error in batik transcoder

2003-10-22 Thread Thomas DeWeese
Weese [mailto:[EMAIL PROTECTED] Sent: Tuesday, October 21, 2003 7:31 PM To: Batik Users Subject: Re: outofmemory error in batik transcoder GVS Srinivas wrote: hi , thanks for the info. i tried using TiledImageTranscoder 1. it was saying that the constrcutor is protected. The file has it&#x

RE: outofmemory error in batik transcoder

2003-10-22 Thread GVS Srinivas
enhancing the JPEGTranscoder?. thanks a lot for the support. regds GVS -Original Message- From: Thomas DeWeese [mailto:[EMAIL PROTECTED] Sent: Tuesday, October 21, 2003 7:31 PM To: Batik Users Subject: Re: outofmemory error in batik transcoder GVS Srinivas wrote: > hi , > thanks for th

Re: outofmemory error in batik transcoder

2003-10-21 Thread Thomas DeWeese
sage- From: Thomas DeWeese [mailto:[EMAIL PROTECTED] Sent: Tuesday, October 21, 2003 3:52 PM To: Batik Users Subject: Re: outofmemory error in batik transcoder Felicia Ionascu wrote: Hi, I had the same problem several months ago, you can use the TiledImageTranscoder instead of your JPEG trans

RE: outofmemory error in batik transcoder

2003-10-21 Thread GVS Srinivas
new TranscoderOutput(fos)); it was creating a file as large as 400MB.i am not sure where iam commiting some mistake.please help me out. thanks GVS -Original Message- From: Thomas DeWeese [mailto:[EMAIL PROTECTED] Sent: Tuesday, October 21, 2003 3:52 PM To: Batik Users Sub

Re: outofmemory error in batik transcoder

2003-10-21 Thread Felicia Ionascu
Hi again, I think this is not a good way to go. There may be memory constraints in the system - like in my case: 3Mb for a 300dpi A4 TIFF - that don't allow any extra memory for Java. There are applications where the rasterization is only marginal and allowing too much memory may have side effe

Re: outofmemory error in batik transcoder

2003-10-21 Thread Thomas DeWeese
Felicia Ionascu wrote: Hi, I had the same problem several months ago, you can use the TiledImageTranscoder instead of your JPEG transcoder, of course you need to change "TIF" to "JPEG" in the code. This transcoder doesn't use BufferedImages but RenderedImages, so it decreases dramatically the

Re: outofmemory error in batik transcoder

2003-10-21 Thread Felicia Ionascu
Hi, I had the same problem several months ago, you can use the TiledImageTranscoder instead of your JPEG transcoder, of course you need to change "TIF" to "JPEG" in the code. This transcoder doesn't use BufferedImages but RenderedImages, so it decreases dramatically the memory consumption. The

Re: outofmemory error in batik transcoder

2003-10-21 Thread Thomas DeWeese
GVS Srinivas wrote: hi all , i am trying to transform a large svg into an jpg image using batik jpeg transcoder and i am encoutering with outofmemoryerror. I think you just want to give Java some extra memory. The simplest way to do this is with the command line switch: -Xmx256m Which will