600 * 600 pixels.
If I use
im = com.lowagie.text.Image.getInstance(600, 600, 3, 8, (byte[])ob);
or im = com.lowagie.text.Image.getInstance((jave.awt.Image)ob, null);
I got out of memory error after row 51.
However, If I create a jpeg file out of the pixel buffer first and then passed the jpeg file name to iText by
im = com.lowagie.text.Image.getInstance(fi.getAbsolutePath());
it all worked out.
I changed JVM memory form 64m to 1G, it did not help at all, not even producing one more image.
It seems more like memory leak in the getInstance method.
I appreciate any help you can provide.
_________________________________________________________________
Don’t just search. Find. Check out the new MSN Search! http://search.msn.click-url.com/go/onm00200636ave/direct/01/
------------------------------------------------------- SF.Net email is sponsored by Shop4tech.com-Lowest price on Blank Media 100pk Sonic DVD-R 4x for only $29 -100pk Sonic DVD+R for only $33 Save 50% off Retail on Ink & Toner - Free Shipping and Free Gift. http://www.shop4tech.com/z/Inkjet_Cartridges/9_108_r285 _______________________________________________ iText-questions mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/itext-questions