Storing/sharing large PDFs can be cumbersome. What if we could trade off some quality to save some space? This is exactly the idea behind (lossy) compression.
You can install ghostscript (gs) via the official site,
via homebrew brew install ghostscript (on MacOS), or nix-shell using the shell.nix