 MuPDF 1.22.0 Documentation“linearized” files . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 163 6.3 The Hint Stream . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 164 6 instead of using stdout. Should be a plain text file format. -e Leave stream contents in their original form. -b Print only stream contents, as raw binary data. -g Print only object, one line per object $FILE trailer/Root/Pages/Count Print the raw content stream of the first page: mutool show -b $FILE pages/1/Contents Print the raw content stream of the first page & second page & the PDF outline (demonstrates0 码力 | 175 页 | 698.87 KB | 8 月前3 MuPDF 1.22.0 Documentation“linearized” files . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 163 6.3 The Hint Stream . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 164 6 instead of using stdout. Should be a plain text file format. -e Leave stream contents in their original form. -b Print only stream contents, as raw binary data. -g Print only object, one line per object $FILE trailer/Root/Pages/Count Print the raw content stream of the first page: mutool show -b $FILE pages/1/Contents Print the raw content stream of the first page & second page & the PDF outline (demonstrates0 码力 | 175 页 | 698.87 KB | 8 月前3
 MuPDF 1.23.0 Documentation“linearized” files . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 227 8.3 The Hint Stream . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 228 8 instead of using stdout. Should be a plain text file format. -e Leave stream contents in their original form. -b Print only stream contents, as raw binary data. -g Print only object, one line per object $FILE trailer/Root/Pages/Count Print the raw content stream of the first page: mutool show -b $FILE pages/1/Contents Print the raw content stream of the first page & second page & the PDF outline (demonstrates0 码力 | 245 页 | 817.74 KB | 8 月前3 MuPDF 1.23.0 Documentation“linearized” files . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 227 8.3 The Hint Stream . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 228 8 instead of using stdout. Should be a plain text file format. -e Leave stream contents in their original form. -b Print only stream contents, as raw binary data. -g Print only object, one line per object $FILE trailer/Root/Pages/Count Print the raw content stream of the first page: mutool show -b $FILE pages/1/Contents Print the raw content stream of the first page & second page & the PDF outline (demonstrates0 码力 | 245 页 | 817.74 KB | 8 月前3
 MuPDF 1.24.0 Documentation“linearized” files . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 231 8.3 The Hint Stream . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 232 8 instead of using stdout. Should be a plain text file format. -e Leave stream contents in their original form. -b Print only stream contents, as raw binary data. -g Print only object, one line per object $FILE trailer/Root/Pages/Count Print the raw content stream of the first page: mutool show -b $FILE pages/1/Contents Print the raw content stream of the first page & second page & the PDF outline (demonstrates0 码力 | 249 页 | 830.15 KB | 8 月前3 MuPDF 1.24.0 Documentation“linearized” files . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 231 8.3 The Hint Stream . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 232 8 instead of using stdout. Should be a plain text file format. -e Leave stream contents in their original form. -b Print only stream contents, as raw binary data. -g Print only object, one line per object $FILE trailer/Root/Pages/Count Print the raw content stream of the first page: mutool show -b $FILE pages/1/Contents Print the raw content stream of the first page & second page & the PDF outline (demonstrates0 码力 | 249 页 | 830.15 KB | 8 月前3
 MuPDF 1.25.0 Documentation“linearized” files . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 241 9.3 The Hint Stream . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 242 9 using the PDF coordinate space. Therefore if we doing something low-level like adding a content stream to a PDFObject, for example: var extra_contents = document.addStream("q 200 0 0 200 10 10 cm /Image1 instead of using stdout. Should be a plain text file format. -e Leave stream contents in their original form. -b Print only stream contents, as raw binary data. -g Print only object, one line per object0 码力 | 259 页 | 1.11 MB | 8 月前3 MuPDF 1.25.0 Documentation“linearized” files . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 241 9.3 The Hint Stream . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 242 9 using the PDF coordinate space. Therefore if we doing something low-level like adding a content stream to a PDFObject, for example: var extra_contents = document.addStream("q 200 0 0 200 10 10 cm /Image1 instead of using stdout. Should be a plain text file format. -e Leave stream contents in their original form. -b Print only stream contents, as raw binary data. -g Print only object, one line per object0 码力 | 259 页 | 1.11 MB | 8 月前3
 PyMuPDF 1.24.2 DocumentationPDF documents starting from PDF version 1.4 may also contain so-called “metadata streams” (see also stream). Information in such streams is coded in XML. PyMuPDF deliberately contains no XML components for object), so we do not directly support access to information contained therein. But you can extract the stream 36 Chapter 6. Tutorial PyMuPDF Documentation, Release 1.24.2 as a whole, inspect or modify it garbage=3 ggg in addition to 2, merge duplicate objects garbage=4 gggg in addition to 3, merge duplicate stream content clean=True cs clean and sanitize content streams deflate=True z deflate uncompressed streams0 码力 | 565 页 | 6.84 MB | 1 年前3 PyMuPDF 1.24.2 DocumentationPDF documents starting from PDF version 1.4 may also contain so-called “metadata streams” (see also stream). Information in such streams is coded in XML. PyMuPDF deliberately contains no XML components for object), so we do not directly support access to information contained therein. But you can extract the stream 36 Chapter 6. Tutorial PyMuPDF Documentation, Release 1.24.2 as a whole, inspect or modify it garbage=3 ggg in addition to 2, merge duplicate objects garbage=4 gggg in addition to 3, merge duplicate stream content clean=True cs clean and sanitize content streams deflate=True z deflate uncompressed streams0 码力 | 565 页 | 6.84 MB | 1 年前3
 PyMuPDF 1.12.2 documentationso we do not directly support access to information contained therein. But you can extract the stream as a whole, inspect or modify it using a package like lxml and then store the result back into the # put in memory ifile.close() ibuffer = BytesIO(idata) # convert to stream try: return PdfReader(ibuffer) # let us try except: idata = None # free storage ibuffer = BytesIO(c) # convert to stream return PdfReader(ibuffer) # let pdfrw retry #---------------------------------------0 码力 | 387 页 | 2.70 MB | 1 年前3 PyMuPDF 1.12.2 documentationso we do not directly support access to information contained therein. But you can extract the stream as a whole, inspect or modify it using a package like lxml and then store the result back into the # put in memory ifile.close() ibuffer = BytesIO(idata) # convert to stream try: return PdfReader(ibuffer) # let us try except: idata = None # free storage ibuffer = BytesIO(c) # convert to stream return PdfReader(ibuffer) # let pdfrw retry #---------------------------------------0 码力 | 387 页 | 2.70 MB | 1 年前3
共 6 条
- 1













