Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » BIRT » Decreasing image quality in PDF-Export
Decreasing image quality in PDF-Export [message #882026] Tue, 05 June 2012 12:49 Go to previous message
Thomas Thym is currently offline Thomas Thym
Messages: 5
Registered: June 2012
Junior Member
Hi,

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();
options.setOption(IPDFRenderOption.DPI, 96);

... and many variations.

If would be great if you could give me some hints where I could look into.

Thomas

P.S.: I use birt-rcp-report-designer 3.7.2
 
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic:org.eclipse.birt.core.archive.FolderArchive Example?
Next Topic:Missing pre-defined styles for grid-row, grid-cell, table-row, table-cell
Goto Forum:
  


Current Time: Tue May 21 14:14:22 EDT 2013

Powered by FUDForum. Page generated in 0.01672 seconds