~ft/pdffs

PDF as a filesystem

6237cc2 add pdf2txt rc script

~pixelherodev pushed to ~ft/pdffs git

11 days ago

8a7f9b4 [parsing] fix unexpected report for n

~pixelherodev pushed to ~ft/pdffs git

13 days ago

#PDF as a file system

Yeah. WIP.

There is nothing to look at yet. You can build it and run things like ./6.out my.pdf Root Pages Kids 0 Kids 0 Kids 0 Contents . to dump a specific object (text, images, fonts, etc).

#Installation

mk deps    # install additional decoders (jbig2, jpeg2000)
mk install

#TODO

  • ASCIIHexDecode filter
  • CryptDecode filter
  • does DCTDecode filter need to deal with ColorTransform?
  • do we need predictor 5 ("optimum")?
  • object stream dictionary doesn't support Extends
  • jp2: CMYK color space support needs to be added