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

REDACTIONJAVA-62Implement metadata redaction for raster imagesImprovement

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


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");
    RedactorChangeLog result = redactor.apply(new EraseMetadataRedaction(MetadataFilters.All));
    if (result.getStatus() != RedactionStatus.Failed)
       //The redacted output will save as PDF;
finally { redactor.close(); }