Dynamically Creating PDFs in a Web Application
Subject:   PDF file size
Date:   2004-11-22 23:52:55
From:   Jlatorre
We are testing this library and we have an extrange efect when we create the PDF result.

We create the PDF file inserting text and a background image.
-If we don't use the image, the PDF size is 13KB.
-If we insert the image using Image jpeg = Image.getInstance("http://xxx.yyy.zzz.kkk:7007/DEMO/justificante.jpg"); the PDF size is 155KB (normal because the background image has 140KB)
-If we insert the image using Image jpeg = Image.getInstance("/usr/bea/user_projects/demo/justificante.jpg");
the PDF size is 3MB(too large).

We prefer to use a file reference than a http reference, but the increase in size disallows it.

We are using 1.0.2 version