Skip to content

Instantly share code, notes, and snippets.

@dukechem
Created February 4, 2020 20:00
Show Gist options
  • Save dukechem/da3b5ca68a4cf93a649e369be4b2923c to your computer and use it in GitHub Desktop.
Save dukechem/da3b5ca68a4cf93a649e369be4b2923c to your computer and use it in GitHub Desktop.
batch-conv-portfolio-pdf
Unlike ordinary pdf files, portfolio.pdf files cannot be viewed on tablets or phones, and most software that can open them is available only on windows or mac, not on linux (until recently). They really should have a different extension like .pdfp or similar. Google finds lots of folks looking to batch convert portfolios to individual files, as the portfolio breaks *lots* of automated workflows, especially if you upload them to systems that can't handle them. If you try to open them in other viewers, like a link in a browser, you'll see a misleading messages ending in "get adobe reader now!", like:
http://dev.datalogics.com/cookbook/portfolios/portfolio-sample.pdf
You get that brain-dead message even if you already have adobe-reader. The work-around is to download the pdf then open in some awful adobe-reader or acrobat software (version 10 or newer is needed, I believe).
If you have a bunch of such pdfs, this is a place folder for upcoming script to batch convert portfolio pdf files.
@dukechem
Copy link
Author

dukechem commented Feb 4, 2020

All I can find so far is a 2015-era UnPortfolio.java that requires propietary java library at [JoelGeraci-Datalogics/UnPortfolio.java] (https://gist.github.com/JoelGeraci-Datalogics/b48070cf69fb58bad00acfa0426ebb02)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment