Any recommendations for a desktop/cli PDF optimization tool that will reduce the size of a pdf? I've tried few and the best one so far is the one that is included in the subscription version of Adobe Acrobat. But I only need it occasionally and is not worth paying $20/month sub.
Stirling-PDF: local web application to perform various operations on PDFs
151–160 of 240 posts
Re: Stirling-PDF: local web application to perform various operations on PDFs
#152Any recommendations for a desktop/cli PDF optimization tool that will reduce the size of a pdf? I've tried few and the best one so far is the one that is included in the subscription version of Adobe Acrobat. But I only need it occasionally and is not worth paying $20/month sub.
Ghostscript maybe? Depends on what you’re doing but it can downsample images etc.
Re: Stirling-PDF: local web application to perform various operations on PDFs
#153Re: Stirling-PDF: local web application to perform various operations on PDFs
#154Looks like the pdf-lib.js used by the project can do most of the advertised features right in the browser and there is even a wasm build of tesseract out there. Have you considered making serverless/browser-only version?
Re: Stirling-PDF: local web application to perform various operations on PDFs
#155Earlier quoted context omitted.
That is true, but I have never encountered a PDF that is not produced by me and cannot be faithfully represented in third party PDF readers. And I give up the idea of producing those kinds of PDFs because I know the people I send to will complain about me rather than their PDF readers. So, Adobe Acrobat doesn't have any monopoly power here, since almost no one cares about those things only they can do.
We often get PDF's that does not work in our pipeline and it's always blamed on the pipeline, not on the creating software. The user usually converts the PDF to an image with adobe reader and screenshot, load up Libreoffice, paste and export it as PDF archive.
Re: Stirling-PDF: local web application to perform various operations on PDFs
#156This is really neat! Is there a paid product backing this or planned for the future? I'm curious what motivates all the dev hours going into it.
Re: Stirling-PDF: local web application to perform various operations on PDFs
#157No one commented yet on how this entire app was built by ChatGPT?
Yep. That's the most interesting thing here. OP can you elaborate on how you got it to develop a full fledged application?
Re: Stirling-PDF: local web application to perform various operations on PDFs
#158Re: Stirling-PDF: local web application to perform various operations on PDFs
#159Nice. I've been looking for something like this to self-host, to avoid my partner uploading sensitive documents to random PDF manipulation websites. Any better alternatives I should be considering?
A really nice, stand-alone command line tool is pdfcpu. https://github.com/pdfcpu/pdfcpu
It needs to be web based and work on desktop/mobile.
Re: Stirling-PDF: local web application to perform various operations on PDFs
#160Earlier quoted context omitted.
Ghostscript maybe? Depends on what you’re doing but it can downsample images etc.
Yes, its mainly to reduce image size for scanned documents. I'll give Ghostscript a try.
ghostscript -sDEVICE=pdfwrite -dCompatibilityLevel=1.4 -dPDFSETTINGS=/printer -dNOPAUSE -dQUIET -dBATCH -sOutputFile=output.pdf input.pdf
From this gist https://gist.github.com/guifromrio/6390547#