问题
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