TIBCOSoftware / jasperreports

JasperReports® - Free Java Reporting Library
https://community.jaspersoft.com/downloads/community-edition/
GNU Lesser General Public License v3.0
1.03k stars 397 forks source link

WebP support in PDF generation #394

Closed woprandi closed 11 months ago

woprandi commented 11 months ago

On Jasper Studio I have an error when trying to preview a PDF report with a WebP image inside. Reason java.io.IOException: The byte array is not a reconized imageformat I was unable to find any information about supported image formats except searching in the source code itself... Is WebP format supported for PDF ? I guess not

teodord commented 11 months ago

This has been fixed for the next release. As long as you have an ImageIO extension with support for WEBP images in your classpath, it will work. In our sample, we now use: https://search.maven.org/artifact/org.sejda.imageio/webp-imageio/0.1.6/jar

woprandi commented 11 months ago

@teodord Do you have an ETA ?

teodord commented 11 months ago

Probably a few weeks. For sure a new release would be out before the end of the year.