elwerene / libreoffice-convert

MIT License
241 stars 94 forks source link

Query on File Size #90

Closed KomalAgarwal1 closed 1 year ago

KomalAgarwal1 commented 1 year ago

Hi Team,

I am using this library to convert word documents to pdf and it reduced the file size of pdf file to 50%.

I wanted to understand the reasons behind this. Does this package compress the file during the conversion process?

FYI. The doc file was of size 4652 KB and the pdf file generated after conversion is having size as 2182 KB.

Please help with the above query.

elwerene commented 1 year ago

Please check if the conversion works in libreoffice.

If it works in libreoffice and not in this library, you can open an issue here again. If it does not work in libreoffice, open an issue in that project.

thanks :)

KomalAgarwal1 commented 1 year ago

Hey the conversion is working fine, but the file size is reduced so wanted to understand the reason behind it

elwerene commented 1 year ago

I do not do any conversion, so please check what libreoffice does ;) my library only calls libreoffice

KomalAgarwal1 commented 1 year ago

sure thanks for the update :)