In with Redaction feature exported pdf files, png images with an alpha channel ('transparent png') are saved without alpha channel and the transparent areas of the images are shown black.
Please, could you attach a test file ? Status set to NEEDINFO; please set it back to UNCONFIRMED once the requested information is provided. Best regards. JBF
Created attachment 153373 [details] zip archive with test files In the attached zip archive I've added sample files: - original Writer document with text and an png image with alpha channel - normal pdf export (for reference) - Draw file with redaction notation at the text - redaction pdf export Actual Result: The png image has black areas where it should be transparent in the redaction pdf export file. Expected Result: Same alpha channel image rendering as in normal pdf export (except less resolution quality).
Don't see need for input from UX (would be surprising if transparency is allowed only internally and this behavior is by design).
This behavior is not by design, but a result of some technical limitations in the implementation. It can be improved, but beware that it is not a trivial task. Notes for the interested devs: at some point of its journey, the GDIMetaFile of a redacted page goes through a roundtrip to and back from WMF which causes the reported issue. To fix it, one needs to first fix the rendered GDIMetaFile, and remove the then needed roundtrip code. Related patch is here: https://gerrit.libreoffice.org/c/core/+/74223 (For the QA people: Although this issue starts with a particular commit, it is not a regression. The feature was still in-development, and in an interim state at that time.)