Export JasperReport to WEBP

Contents
[ ]

The following code snippet demonstrates how to export the JasperReport to WEBP.

Java

ASWebPExporter webPExporter = new ASWebPExporter();
ASWebpExportConfigurationImpl webpExportConfiguration = new ASWebpExportConfigurationImpl();
webpExportConfiguration.setQuality(50);
webPExporter.setConfiguration(webpExportConfiguration);

exporterInput = new ASExportInputImpl(jasperPrint);
webPExporter.setExporterInput(exporterInput);

exporterOutput = new ASExporterOutputImpl("shapesExample.webp");
webPExporter.setExporterOutput(exporterOutput);

webPExporter.exportReport();