Author Topic: PDF to Scheme conversion  (Read 1559 times)

Offline OS923

  • Platinum Member (500+ Posts)
  • *****
  • Posts: 525
PDF to Scheme conversion
« on: December 09, 2016, 06:28:56 AM »
I wrote a small utility named PDF explorer.

It requires that first you convert your PDF to XML using LibreOffice 5 on a different platform.

Then PDF explorer can convert that XML to Scheme.

It gives you much detail about your PDF and it's more readable than XML or the PDF itself (which is meant to be a 7-bit ASCII text, but it's not really readable).

Binary streams are saved as separate binary files. This is especially useful if you're interested in getting the images from the PDF without recompression, exactly like they were saved in the PDF.

You can use Scheme to inspect or transform the Scheme expression.

You can copy it here: