Tags: j-t-1/pypdf
Tags
- Implement flattening for writer (py-pdf#3312) by @PJBrs - Unterminated object when using PdfWriter with incremental=True (py-pdf#3345) by @m32 - Resolve some image extraction edge cases (py-pdf#3371) by @stefan6419846 - Ignore faulty trailing newline during RLE decoding (py-pdf#3355) by @henningkoertelgmg - Gracefully handle odd-length strings in parse_bfchar (py-pdf#3348) by @stefan6419846 - Modernize license specifiers (py-pdf#3338) by @stefan6419846 - Reduce max-complexity of tool.ruff.lint.mccabe (py-pdf#3365) by @j-t-1 - Refactor text extraction code by @MartinThoma [Full Changelog](py-pdf/pypdf@5.7.0...5.8.0)
- Performance optimization for LZW decoding (py-pdf#3329) by @henning… …koertelgmg - Flate decoding for streams with faulty tail bytes (py-pdf#3332) by @henningkoertelgmg - dc_creator could be a Bag as well (py-pdf#3333) by @stefan6419846 - Handle tree being NullObject when retrieving named destinations (py-pdf#3331) by @stefan6419846 - Move inline-image mappings to constants (py-pdf#3328) by @stefan6419846 [Full Changelog](py-pdf/pypdf@5.6.1...5.7.0)
- Add basic support for JBIG2 by using jbig2dec (py-pdf#3163) by @ste… …fan6419846 - Fix crashes by removing unnecessary line (py-pdf#3293) by @larsga - Add delimiters to NameObject.renumber_table (py-pdf#3286) by @ztravis - Handle DecodeParms being a NullObject (py-pdf#3285) by @stefan6419846 - Update to mypy 1.16.0 (py-pdf#3300) by @stefan6419846 [Full Changelog](py-pdf/pypdf@5.5.0...5.6.0)
- Add support for IndirectObject.__iter__ (py-pdf#3228) by @bryan-bra… …ncotte - Allow filtering by font when removing text (py-pdf#3216) by @samuelbradshaw - Add missing named destinations being ByteStringObjects (py-pdf#3282) by @stefan6419846 - Get font information more reliably when removing text (py-pdf#3252) by @samuelbradshaw - T* 2D Translation consistent with PDF 1.7 Spec (py-pdf#3250) by @hackowitz-af - Add font stack to q/Q operations in layout mode (py-pdf#3225) by @hackowitz-af - Avoid completely hiding image loading issues like exceeding image size limits (py-pdf#3221) by @stefan6419846 - Using compress_identical_objects on transformed content duplicates differing content (py-pdf#3197) by @danio - Consider BlackIs1 parameter for CCITTFaxDecode filter (py-pdf#3196) by @stefan6419846 - Deal with insufficient cm matrix during text extraction (py-pdf#3283) by @stefan6419846 - Allow merging when annotations miss D entry (py-pdf#3281) by @stefan6419846 - Fix merging documents if there are no Dests (py-pdf#3280) by @stefan6419846 - Fix crash on malformed action in outline (py-pdf#3278) by @larsga - Fix compression issues for removed images which might be None (py-pdf#3246) by @stefan6419846 - Attempt to deal with non-rectangular FlateDecode streams (py-pdf#3245) by @stefan6419846 - Handle some None values for broken PDF files (py-pdf#3230) by @stefan6419846 - Multiple style improvements by @j-t-1 - Update ruff to 0.11.0 by @stefan6419846 - Conform ASCIIHexDecode implementation to specification (py-pdf#3274) by @j-t-1 - Modify comments of filters that do not use decode_parms (py-pdf#3260) by @j-t-1 - Simplify warnings & debugging in layout mode text extraction (py-pdf#3271) by @hackowitz-af - Standardize mypy assert statements (py-pdf#3276) by @j-t-1 [Full Changelog](py-pdf/pypdf@5.4.0...5.5.0)
- Cope with Matrix entry in field annotations (py-pdf#2736) by @pubpu… …b-zz - Cope with fields with upside down box/rectangle (py-pdf#2729) by @pubpub-zz - Update Link Documentation Example (py-pdf#2759) by @jparris - Make table consistent with pdf-version-support.md (py-pdf#2758) by @j-t-1 - Add feature support by pypdf (py-pdf#2738) by @j-t-1 - Move JavaScript example (py-pdf#2746) by @j-t-1 - Added example for downloading a PDF from Google Cloud Storage (py-pdf#2745) by @prodeveloper - Miscellaneous tiny changes (py-pdf#2744) by @j-t-1 - Amend comment with rectangle duplication (py-pdf#2733) by @j-t-1 - Use enumerate in extract example (py-pdf#2727) by @j-t-1 - Tiny changes (py-pdf#2723) by @j-t-1 - Remove redundant pass statement (py-pdf#2739) by @j-t-1 - Update Python version support documentation (py-pdf#2740) by @j-t-1 - Remove redundant super() (py-pdf#2734) by @j-t-1 - Add deprecate_with_replacement to StreamObject.initializeFromDictionary (py-pdf#2728) by @j-t-1 - Deal with cryptography>=43 moving ARC4 (py-pdf#2765) by @MartinThoma - Change argument type (py-pdf#2741) by @j-t-1 - Use endswith instead of logical equals (py-pdf#2732) by @j-t-1 [Full Changelog](py-pdf/pypdf@4.3.0...4.3.1)
- Accept ETen-B5 and UniCNS-UTF16 encodings (py-pdf#2721) by @pubpub-zz - Add decode_as_image() to ContentStreams (py-pdf#2615) by @pubpub-zz - context manager for PdfReader (py-pdf#2666) by @tibor-reiss - Add capability to set font and size in fields (py-pdf#2636) by @pubpub-zz - Allow to pass input file without named argument (py-pdf#2576) by @pubpub-zz - Fix deprecation for Ressources when using old constants (py-pdf#2705) by @stefan6419846 - Fix images issue 4 bits encoding and LUT starting with UTF16_BOM (py-pdf#2675) by @pubpub-zz - Reading large compressed images takes huge time to process (py-pdf#2644) by @snanda85 - Highlighted Text Cannot Be Printed (py-pdf#2604) by @Nifury - Fix UnboundLocalError on malformed pdf (py-pdf#2619) by @farjasju - Various improvements on docstrings and examples by @j-t-1 - Cope with missing Standard 14 fonts in fields (py-pdf#2677) by @pubpub-zz - Improve inline image extraction (py-pdf#2622) by @pubpub-zz - Cope with loops in Fields tree (py-pdf#2656) by @pubpub-zz - Discard /I in choice fields for compatibility with Acrobat (py-pdf#2614) by @pubpub-zz - Cope with some issues in pillow (py-pdf#2595) by @pubpub-zz - Cope with some image extraction issues (py-pdf#2591) by @pubpub-zz - Deprecate interiour_color with replacement interior_color (py-pdf#2706) by @j-t-1 - Add deprecate_with_replacement to PdfWriter.find_bookmark (py-pdf#2674) by @j-t-1 - Change Link to be a non-markup annotation (py-pdf#2714) by @j-t-1 [Full Changelog](py-pdf/pypdf@4.2.0...4.3.0)