File: c16.tex

package info (click to toggle)
cpdf 2.8.1-2
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 6,828 kB
  • sloc: ml: 34,724; makefile: 65; sh: 45
file content (19 lines) | stat: -rw-r--r-- 518 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
CHAPTER 15. PDF and JSON

Cpdf.outputJSON(String, Boolean, Boolean, Boolean, Cpdf.Pdf)

Outputs a PDF in JSON format to the given filename. If parse_content is true,
page content is parsed. If no_stream_data is true, all stream data is
suppressed entirely.

Cpdf.outputJSONMemory(Cpdf.Pdf, Boolean, Boolean, Boolean)

Like outputJSON, but it writes to a byte array in memory.

Cpdf.fromJSON(String)

Loads a PDF from a JSON file given its filename.

Cpdf.fromJSONMemory(Byte[])

Loads a PDF from a JSON file in memory