How do i compress a PDF in Flutter?

喜你入骨 提交于 2021-01-29 09:38:23

问题


I built an app for my university where students can access documents such as notes, question papers etc. in PDF format.

I am using Firebase Storage for the back-end. I want to compress the PDF files client side. I thought of using ilovepdf.com's API but i'm not able to do that. Is there anyway to do that in dart? any package in flutter?

Would be great if someone could help. Thanks.


回答1:


You can use any file compression method, not just those specific to PDF. You could use the archive package, which has multiple compression options.



来源:https://stackoverflow.com/questions/62759571/how-do-i-compress-a-pdf-in-flutter

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!