Take care redacting WebP images

32 points by thombles 5 hours ago on lobsters | 3 comments

juliaaa | 3 hours ago

The solution to this being... render it to a raw bitmap format and recompress as WEBP?

JadedBlueEyes | 3 hours ago

No, that can't get rid of the compression artifacts. The solution is to never have the unredacted image compressed to webp in the first place

majaha | an hour ago

Yeah, it's the source that matters. The pragmatic solution for a document like this is probably to remove as much information from the image as possible while keeping it readable, e.g. send all the pixels to black and white.

I wonder if specialty redaction software exists that can destroy the information in a rectangle of a compressed image, including the part spread across the rest of the image. That wouldn't help in the WebP-saved-as-a-png case though. Could you try to detect that and reverse to the original WebP? What about the WebP as a jpeg case?

juliaaa | 3 hours ago

Comment removed by its author