Comment by forgotpwd16
5 hours ago
>many nontrivial and creative ways to do pdf processing
They're all wrapping PDFlib and provide the same functionality.
5 hours ago
>many nontrivial and creative ways to do pdf processing
They're all wrapping PDFlib and provide the same functionality.
I am already well served by ghostscript, GIMP, Imagemagick, etc:
Optimize PDF:
Merge PDF:
And so on and so forth.
Moreover, I see a webapp and I immediately assume everything I do in this app is exfiltrated and abused.
I can check that the webapp advertised above is indeed local-first, but I can't be 100% sure they don't steal my data in a way I did not foresee, e.g. via websockets or cookies.
Because I learnt this the hard way by being on Instagram and Gmail.
Your commands to process PDF with Ghostscript are lossy (they lose lots of metadata and in minor ways they also change how the PDF renders), and they produce very large PDF files.
Can you expand on why the produced PDF files are supposed to be larger than the originals? I've not observed that yet.
To better compress my personal preference is
If you do `-dEmbedAllFonts=true` then probably `-dSubsetFonts=true` would also be useful.
And for the rest, `-dPDFSETTINGS=/ebook` should already have most of the values that you set explicitely.
You're being downvoted because not everyone has CLI access to a server and the required ghostscript binaries etc.
Realistically, most 'normal users' have PDF needs like these links and we as tech people can safely give these sites to non-technical people and have confidence their data isn't being stolen on remote dodgy servers (think gas / electricity bills, invoices, bank statements etc which is a PII gold pot).
Server? what server? Ghostscript is available in virtually any Linux distro, on Mac with and without brew and even on Windows.
I have no confidence in any website, especially the one that claims to be local-only but can technically change on a whim of the developer once it starts getting enough traffic from users.
OTOH, I trust 30+ years old software sitting on on my hard drive not to phone home on every keystroke.