public final class CleanUpImageUtil extends Object
| Modifier and Type | Class and Description |
|---|---|
static class |
CleanUpImageUtil.CleanupImageHandlingUtilException
Exception is thrown when errors occur during handling and cleaning up images.
|
| Modifier and Type | Method and Description |
|---|---|
static byte[] |
cleanUpImage(byte[] imageBytes,
List<com.itextpdf.kernel.geom.Rectangle> areasToBeCleaned)
Clean up an image using a List of Rectangles that need to be redacted.
|
public static byte[] cleanUpImage(byte[] imageBytes,
List<com.itextpdf.kernel.geom.Rectangle> areasToBeCleaned)
imageBytes - the image to be cleaned upareasToBeCleaned - the List of Rectangles that need to be redacted out of the imageCopyright © 1998–2023 iText Group NV. All rights reserved.