smallerpdf

Crates.iosmallerpdf
lib.rssmallerpdf
version0.1.3
sourcesrc
created_at2022-11-05 09:45:33.131784
updated_at2022-11-11 22:21:50.031893
descriptionA super simple tool to make your pdf file size smaller using ghostscript
homepagehttps://github.com/crissNb/SmallerPDF
repositoryhttps://github.com/crissNb/SmallerPDF
max_upload_size
id705709
size5,843
crissNb (crissNb)

documentation

README

SmallerPDF

Make your PDF files great again! A super simple tool to reduce PDF file size using GhostScript.

Intention

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)

Installation

cargo install smallerpdf

Usage

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.

To Dos

  • Ability to optimize an entire folder of documents, recursively
Commit count: 16

cargo fmt