Callback interface invoked for each image encountered during conversion when using CustomImagesStrategy .
Implement this interface to rename images, redirect output to a custom stream,
or apply other custom logic.
Example:
public class RenameHandler implements IImageSavingHandler {
private int index;
@Override
public void handle(CustomImageSavingArgs args) {
args.setOutputImageFileName("img_" + index + "_" + args.getImageFileName());
index++;
}
}