GroupDocs.Redaction for Java 20.2 Release Notes
This page contains release notes for GroupDocs.Redaction for Java 20.2
Major Features
There are the following improvements in this release:
- Ability to edit or erase image metadata
Full List of Issues Covering all Changes in this Release
Key | Summary | Category |
---|---|---|
REDACTIONJAVA-62 | Implement metadata redaction for raster images | Improvement |
Public API and Backward Incompatible Changes
Implement metadata redaction for raster images
This feature provides functionality to erase or redact the raster image metadata.
Public API changes
There are no changes in public API
Usecases
The following example demonstrates how to edit exif data (erase them) from a photo or any other image:
final Redactor redactor = new Redactor("D:\\photo.jpg");
try
{
RedactorChangeLog result = redactor.apply(new EraseMetadataRedaction(MetadataFilters.All));
if (result.getStatus() != RedactionStatus.Failed)
{
//The redacted output will save as PDF
redactor.save();
};
}
finally { redactor.close(); }