Need advice about which tool to choose?Ask the StackShare community!


+ 1

+ 1
Add tool
Advice on OpenPDF and PDF.js
Needs advice

Users are uploading huge PDF files of more than 100MB on our platform. We are creating several tools to manage those files, but keeping the raw file will eat up space, as we are handling several of them. After upload, they will be mainly keep stored for future use.

I am looking for a tool to compress and optimize those PDFs, like a library or an external API that can process that for us.


See more
Replies (2)
Andres Montalban

I have been using Ghostscript and Python to get JPEG images from PDF files and that way we have reduced PDF size. But if your average is 100MB then probably those are hi-res images and not sure if your users will accept a quality reduction.

See more

You can store raw files on a cdn service like bunnyCdn. If they want to work with the raw files, you can get it from the cdn service. Compressing is not a persistent solution for space problem. Also it's more safe way, because cdn providers copy your files more than one servers..

Modern cdn solutions have ftp / ssh support so you can easily send files to them...

See more
Get Advice from developers at your company using Private StackShare. Sign up for Private StackShare.
Learn More

What is OpenPDF?

OpenPDF is a free Java library for creating and editing PDF files with a LGPL and MPL open source license. OpenPDF is based on a fork of iText.

What is PDF.js?

It is a Portable Document Format (PDF) viewer that is built with HTML5. It is community-driven and supported by Mozilla Labs. The goal is to create a general-purpose, web standards-based platform for parsing and rendering PDFs.

Need advice about which tool to choose?Ask the StackShare community!

Jobs that mention OpenPDF and PDF.js as a desired skillset
Dallas - Texas - United States of America, Richardson - Texas - United States of America
What companies use OpenPDF?
What companies use PDF.js?
See which teams inside your own company are using OpenPDF or PDF.js.
Sign up for Private StackShareLearn More

Sign up to get full access to all the companiesMake informed product decisions

What tools integrate with OpenPDF?
What tools integrate with PDF.js?
What are some alternatives to OpenPDF and PDF.js?
It is a free and open-source document converter, widely used as a writing tool and as a basis for publishing workflows. It converts files from one markup format into another. It can convert documents in (several dialects of) Markdown, reStructuredText, textile, HTML, DocBook, LaTeX, MediaWiki markup, TWiki and many more.
wkhtmltopdf and wkhtmltoimage are command line tools to render HTML into PDF and various image formats using the QT Webkit rendering engine. These run entirely "headless" and do not require a display or display service.
Convert anything to anything - more than 200 different audio, video, document, ebook, archive, image, spreadsheet and presentation formats supported.
DocRaptor makes it easy to convert HTML to PDF and XLS format. Choose your document format, select configuration options and make an HTTP POST request to our server. DocRaptor returns your file in a matter of seconds. We provide extensive documentation and examples to get you started, and our API makes it easy to use DocRaptor to generate PDF and Excel files in your own web applications.
It is a visual rendering engine for HTML and CSS that can export to PDF. It aims to support web standards for printing. It is free software made available under a BSD license.
See all alternatives