MuPDF 1.22.0 Documentationfz_drop_document(ctx, doc); fz_drop_context(ctx); return EXIT_FAILURE; } /* Print image data in ascii PPM format. */ printf("P3\n"); printf("%d %d\n", pix->w, pix->h); printf("255\n"); for (y = 0; y < all streams. • compress-fonts Compress embedded fonts. • compress-images Compress images. • ascii ASCII hex encode binary streams. • pretty Pretty-print objects with indentation. • linearize Optimize User password (only if encrypting). -P permission Permission flags (only if encrypting). -a ASCII hex encode binary streams. -d Decompress streams. -z Deflate uncompressed streams. -f Compress0 码力 | 175 页 | 698.87 KB | 8 月前3
MuPDF 1.23.0 Documentationfz_drop_document(ctx, doc); fz_drop_context(ctx); return EXIT_FAILURE; } /* Print image data in ascii PPM format. */ printf("P3\n"); printf("%d %d\n", pix->w, pix->h); printf("255\n"); for (y = 0; y < all streams. • compress-fonts Compress embedded fonts. • compress-images Compress images. • ascii ASCII hex encode binary streams. • pretty Pretty-print objects with indentation. • linearize Optimize Permission flags (only if encrypting). 4.3. mutool 41 MuPDF Documentation, Release 1.23.0 -a ASCII hex encode binary streams. -d Decompress streams. -z Deflate uncompressed streams. -f Compress0 码力 | 245 页 | 817.74 KB | 8 月前3
PyMuPDF 1.24.2 Documentationdeflate_images=True i deflate image streams deflate_fonts=True f deflate fontfile streams ascii=True a convert binary data to ASCII format linear=True l create a linearized version expand=True d decompress all text = chr(12).join([page.get_text() for page in doc]) # write as a binary file to support non-ASCII characters pathlib.Path(fname + ".txt").write_bytes(text.encode()) The output will be plain text (stream: True) << /Length 494 /Filter /FlateDecode >> ... A PDF object definition is an ordinary ASCII string. 19.2 How to Handle Object Streams Some object types contain additional data apart from their0 码力 | 565 页 | 6.84 MB | 1 年前3
MuPDF 1.25.0 Documentationfz_drop_document(ctx, doc); fz_drop_context(ctx); return EXIT_FAILURE; } /* Print image data in ascii PPM format. */ printf("P3\n"); printf("%d %d\n", pix->w, pix->h); printf("255\n"); for (y = 0; y < all streams. • compress-fonts Compress embedded fonts. • compress-images Compress images. • ascii ASCII hex encode binary streams. • pretty Pretty-print objects with indentation. • linearize Optimize Permission flags (only if encrypting). 5.3. mutool 45 MuPDF Documentation, Release 1.25.0 -a ASCII hex encode binary streams. -d Decompress streams. -z Deflate uncompressed streams. -f Compress0 码力 | 259 页 | 1.11 MB | 8 月前3
MuPDF 1.24.0 Documentationfz_drop_document(ctx, doc); fz_drop_context(ctx); return EXIT_FAILURE; } /* Print image data in ascii PPM format. */ printf("P3\n"); printf("%d %d\n", pix->w, pix->h); printf("255\n"); for (y = 0; y < all streams. • compress-fonts Compress embedded fonts. • compress-images Compress images. • ascii ASCII hex encode binary streams. • pretty Pretty-print objects with indentation. • linearize Optimize Permission flags (only if encrypting). 4.3. mutool 41 MuPDF Documentation, Release 1.24.0 -a ASCII hex encode binary streams. -d Decompress streams. -z Deflate uncompressed streams. -f Compress0 码力 | 249 页 | 830.15 KB | 8 月前3
PyMuPDF 1.12.2 documentationclean = 1 s clean content streams deflate = 1 z deflate uncompressed streams ascii = 1 a convert binary data to ASCII format linear = 1 l create a linearized version expand = 1 i decompress images entries below level 1 as collapsed. save(outfile, garbage=0, clean=0, deflate=0, incremental=0, ascii=0, expand=0, linear=0) PDF only: Saves the document in its current state under the name outfile repair mode (openErrCode > 0). In these cases saving to a new file is required. ascii (int) – Where possible make the output ASCII: 0 / False, 1 / True. expand (int) – Decompress contents: 0 = none, 1 = images0 码力 | 387 页 | 2.70 MB | 1 年前3
共 6 条
- 1













