Sigrid Solveig Haflínudóttirtodo: jp2 CMYKab56ad85 years agoHistory
21 lines · 565 B · Markdown
RawDownload

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

Keyboard shortcuts

General

Show keyboard shortcuts
?
Focus the current search
/

Issues and pull requests

Open filters
f

Issues, pull requests and Inbox

Select next item
j↓
Select previous item
k↑
Open selected item
Enter
Dismiss filters or clear selection
Esc

Repository code

Go to file
t