<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=Windows-1252">
</head>
<body>
<div dir="ltr" style="font-family: "Iosevka Fixed SS16", Arial, Helvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0);">
And HEIC.</div>
<div dir="ltr" style="font-family: "Iosevka Fixed SS16", Arial, Helvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0);">
<br>
</div>
<div dir="ltr" style="font-family: "Iosevka Fixed SS16", Arial, Helvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0);">
-andy</div>
<div dir="ltr" style="font-family: "Iosevka Fixed SS16", Arial, Helvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0);">
<br>
</div>
<div id="mail-editor-reference-message-container">
<div dir="ltr" class="ms-outlook-mobile-reference-message skipProofing"></div>
<div class="ms-outlook-mobile-reference-message skipProofing" style="text-align: left; padding: 3pt 0in 0in; border-width: 1pt medium medium; border-style: solid none none; border-color: rgb(181, 196, 223) currentcolor currentcolor; font-family: Aptos; font-size: 12pt; color: black;">
<b>From: </b>openjfx-dev <openjfx-dev-retn@openjdk.org> on behalf of Glavo <zjx001202@gmail.com><br>
<b>Date: </b>Wednesday, December 3, 2025 at 12:01<br>
<b>To: </b>openjfx-dev <openjfx-dev@openjdk.org><br>
<b>Subject: </b>WebP and AVIF image support<br>
<br>
</div>
<div dir="ltr" class="ms-outlook-mobile-reference-message skipProofing">Hi,</div>
<p dir="auto" class="ms-outlook-mobile-reference-message skipProofing">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 dir="auto" class="ms-outlook-mobile-reference-message skipProofing">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 dir="auto" class="ms-outlook-mobile-reference-message skipProofing">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 dir="ltr" class="ms-outlook-mobile-reference-message skipProofing">Glavo</p>
</div>
</body>
</html>