47
Views
3
Comments
[Ultimate PDF] Size of generated PDF
Question
Forge component by Leonardo Fernandes
15
Published on 08 Jan 2021

Hi Guys,

I am wondering if this component allows us to choose the compression ratio of the PDF being generated?

E.g. Let's says that, by default, the generated PDF is 5MB but i want to make it smaller using a higher compression ratio.

Is that possible?

Cheers,

mvp_badge
MVP
Rank: #2

I'm not sure the PDF standard allows for compression ratios? I can't readily find any technical information about it.

Rank: #154

Kilian Hekhuis wrote:

I'm not sure the PDF standard allows for compression ratios? I can't readily find any technical information about it.

Hi Kilian,

HTML2PDFConverter allows to select the DPI used to generate the PDF file...

When i referred to to Compression Ratio i should probably refer to DPI.

Cheers,


mvp_badge
MVP
Rank: #5

Hi Pedro. Changing the DPI is not supported.

As a workaround, reduce the quality of the images included in the report, or use a PDF compression service.