# [Ultimate PDF] Size of generated PDF

Forge Component

### Ultimate PDF

(15)
Published on 14 Sep (9 days ago) by Leonardo Fernandes
Published on 14 Sep (9 days ago) by Leonardo Fernandes

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,

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

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,

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.