home.social

#pypdf — Public Fediverse posts

Live and recent posts from across the Fediverse tagged #pypdf, aggregated by home.social.

  1. “Zoom in, zoom out, redact your points!”

    #Censor v0.7.0 ships improved zooming with pinch-to-zoom gesture on touchpads and touchscreens and various security bug fixes. Find it at @flathub: flathub.org/apps/page.codeberg and @Codeberg: codeberg.org/censor/Censor

    You may now redact safely also #PDF documents with cropped, scaled, or rotated pages. The upstream #PyMuPDF library has some issues treating these documents. Thus, I implemented manual transformation and drawing of the redaction rectangles, and verified the proper redaction with a specially created sample document, submitted to the collection by #pypdf: github.com/py-pdf/sample-files

    Additionally, point- or line-like elements are now properly redacted. Sanitization during post-processing keeps now entries in form fields (note: this changes previous behavior).

    Thanks to the translators, Censor is now available in 13 languages including Croatian and Russian.

    #censorship #redaction #Codeberg #Flatpak #Flathub #GNOME #linux #python #MuPDF

  2. “Secure #redaction by design and through extensive #testing

    #Censor 0.6.0 comes with many more #security improvements, motivated by extensive testing on more then 1,000 #PDF document samples. You may now redact securely also links, form fields and widgets. In rare cases, when partial image redaction fails, the more secure full image removal is used instead.

    But even more important, Censor now warns you, when unsuccessful redaction is detected during postprocessing. This reduces the impact of known issues of unsecure redaction.

    Polish is the 11th language you may speak with Censor. Thanks to its translators (among them, @mondstern)!

    Thanks a lot also to #pypdf, #qpdf, #pikepdf, #Ghostscript, #MuPDF, #PyMuPDF, and #poppler contributors for the great resource of PDF document samples!

    Find it at @flathub: flathub.org/apps/page.codeberg and @Codeberg: codeberg.org/censor/Censor

    #Censorship #Codeberg #Flathub #GNOME #Linux #Python

  3. That said and celebrated ;), there are things that #Censor is not yet well redacting.

    The upstream library #MuPDF (with its #Python bindings in #PyMuPDF) supports by default only redaction of text, vector graphics and images. Testing on a variety of PDF files (thanks to #pypdf, #qpdf, #ghostscript, and their issue reporters, as well as @pdfarranger for their hint) let me discover that some vector graphics are not properly redacted and an upstream issue has been reported for that.

    Also, form fields (widgets), signatures and links may be incompletely redacted.

    You can find an updated list of “What is redacted? What not?” here: codeberg.org/censor/Censor/iss

    #pdf #redaction #security