Skip to content

PDF output size bloated? #19

Description

@RaffaeleT

Hallo I'm running aeroodocs with Odoo v8 on Ubuntu 14.04.
I'm experiencing a huge growth of PDF outputs size.
This is the simplest test I did:

  1. I created a 3-pages template containing only page breaks (no text body), with header and footer containing images
  2. I printed it (eg. as an invoice) as PDF: the size is 38.5KB
  3. I added a Lorem Ipsum line of text in each page in the original template
  4. I printed it as PDF: the size is 132KB
  5. I printed the "Lorem Ipsum" template as DOC
  6. Using LibreOffice application, I manually saved the doc as a PDF: the size is 50.6KB

Summarizing:
A 3-page document with header and footer containing images:

  1. if it contains no text in the body, is sized 38.5 KB - when printed with aeroodocs
  2. if it contains a line of text in each page, is sized 132 KB - when printed with aeroodocs
  3. if it is saved from within LibreOffice, is sized 50.6 KB

In real-word example, these are the sizes of a 1-page invoice with 3 tables in it:

  1. 422KB when printed as PDF
  2. 36.5KB when printed as DOC
  3. 130KB when the DOC is exported as PDF manually from LibreOffice

Any idea about where I should investigate on?

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions