Crates.io | smallerpdf |
lib.rs | smallerpdf |
version | 0.1.3 |
source | src |
created_at | 2022-11-05 09:45:33.131784 |
updated_at | 2022-11-11 22:21:50.031893 |
description | A super simple tool to make your pdf file size smaller using ghostscript |
homepage | https://github.com/crissNb/SmallerPDF |
repository | https://github.com/crissNb/SmallerPDF |
max_upload_size | |
id | 705709 |
size | 5,843 |
Make your PDF files great again! A super simple tool to reduce PDF file size using GhostScript.
The main purpose of this program is to reduce the resolution of the PDF, so that you can easily share your large size PDF around online (e.g. Discord has file limit size of 8MB). This program is especially helpful if you want to reduce the file size of a PDF that contains handwritten notes (e.g. produced with apps like GoodNotes)
cargo install smallerpdf
From my experience, adjusting lowering image resolution size drastically lowers the output size of the PDF. However, this will lower all the images that are included in the PDF file. Strangely enough, if you have a PDF that only consists of a handwritten note (e.g. produced with GoodNotes), you may lower the image resolution all the way down to 8 and the quality is still unaffected (but the size is reduced).
smallerpdf <pdf_name> [image_resolution_size]
where <> parameters are required and [] parameters are optional.