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
Clean up an image using a List of Rectangles that need to be redacted.
|
public static byte[] cleanUpImage(byte[] imageBytes, ListareasToBeCleaned)
imageBytes
- the image to be cleaned up
areasToBeCleaned
- the List of Rectangles that need to be redacted out of the image
Copyright © 1998–2021 iText Group NV. All rights reserved.