|Decreasing image quality in PDF-Export [message #882026]
||Tue, 05 June 2012 16:49
| Thomas Thym
Registered: June 2012
I have written a report generating a price list with images of the product. The pictures have a resolution of 300 dpi. The exported PDF-file goes to the printer. The 50MB file is too big for the download from the internet. (The internet version is individual for each customer with individual prices.)
My aim is to reduce the resolution of the report to 96 dpi. I searched the internet and found some hints.
I tried the following things with no effect.
1. Properties -> Advanced -> Image DPI -> set to 96
2. Add a script to "beforeRender"
reportContext.getAppContext().put( EngineConstants.APPCONTEXT_CHART_RESOLUTION, 96 );
[This one might only work for charts, not for images, but I tried it.]
3. Add a script to "beforeRender"
var options = new PDFRenderOption();
... and many variations.
If would be great if you could give me some hints where I could look into.
P.S.: I use birt-rcp-report-designer 3.7.2
Powered by FUDForum
. Page generated in 0.05099 seconds