<html><body><div style="font-family: 'verdana'; font-size: 12px; color: #000;"><span style="background-color: #ffffff;">I would also like to see support for .webp images. I pretty much only use this format as of today - so for games websites, games, android.<br>The format has some big advantages, especially using the lossless compression.</span></div>
<div style="font-family: 'verdana'; font-size: 12px; color: #000;"><span style="background-color: #ffffff;"> </span></div>
<div style="font-family: 'verdana'; font-size: 12px; color: #000;"><span style="background-color: #ffffff;">But I do understand that this involves some work. Which I think is worth it, at least for .webp (for now), since this is used the most.</span></div>
<div style="font-family: 'verdana'; font-size: 12px; color: #000;"><span style="background-color: #ffffff;"> </span></div>
<div style="font-family: 'verdana'; font-size: 12px; color: #000;"><span style="background-color: #ffffff;">-- Marius</span></div>
<div id="sub-body-container" style="margin: 10px 5px 5px 10px; padding: 10px 0px 10px 10px; border-left: 2px solid rgb(195, 217, 229);">
<div style="margin: 0px 0px 10px;">
<div><strong>Gesendet: </strong>Mittwoch, 3. Dezember 2025 um 21:00</div>
<div><strong>Von: </strong>Glavo <zjx001202@gmail.com></div>
<div><strong>An: </strong>openjfx-dev <openjfx-dev@openjdk.org></div>
<div><strong>Betreff: </strong>WebP and AVIF image support</div>
</div>
<div>Hi,
<div>
<p>The image formats supported by JavaFX have not been updated for a very long time. However, more and more content providers are now adopting newer formats such as WebP and AVIF.</p>
<p>For example, our application needs to display icons for Minecraft mods, modpacks, and other content sourced from Modrinth, and the vast majority of these icons are in WebP format. To work around this, we currently have to bundle TwelveMonkeys into our program, decode the images to BufferedImage, and then convert them to javafx.scene.image.Image. This approach significantly increases the size of our application, adds considerable performance overhead, does not support animated WebP, and even has a color-shift bug when decoding lossy-compressed WebP images.</p>
<p>Is there any possibility that JavaFX will add native support for modern image formats like WebP and AVIF in the future? I noticed that the javafx.web module already depends on libwebp during its build, yet this dependency is not utilized for javafx.scene.image.Image decoding—which is honestly a bit of a shame. We sincerely hope that JavaFX can provide native support for these formats.</p>
<p>Glavo</p>
</div>
</div>
</div></body></html>