設置 | 登錄 | 註冊

作者共發了3篇帖子。

Convert WebP to PNG using java

7樓 巨大八爪鱼 2026-2-1 01:10
https://github.com/haraldk/TwelveMonkeys

https://search.maven.org/remotecontent?filepath=com/twelvemonkeys/common/common-lang/3.9.4/common-lang-3.9.4.jar
https://search.maven.org/remotecontent?filepath=com/twelvemonkeys/common/common-io/3.9.4/common-io-3.9.4.jar
https://search.maven.org/remotecontent?filepath=com/twelvemonkeys/common/common-image/3.9.4/common-image-3.9.4.jar
https://search.maven.org/remotecontent?filepath=com/twelvemonkeys/imageio/imageio-core/3.9.4/imageio-core-3.9.4.jar
https://search.maven.org/remotecontent?filepath=com/twelvemonkeys/imageio/imageio-metadata/3.9.4/imageio-metadata-3.9.4.jar

https://search.maven.org/remotecontent?filepath=com/twelvemonkeys/imageio/imageio-webp/3.9.4/imageio-webp-3.9.4.jar


这个库的最低运行环境是Java 7 (major version 51)。

巨大八爪鱼 2026-2-1 18:52
Purasbar最终采用了TwelveMonkeys库读取webp图片。
这6个jar文件最低运行环境为Java7,放到tomcat服务器下,如果tomcat的环境是Java6,那么jar文件无法加载成功,webp功能无法使用,但不会报错,网页依然可以正常访问。只有tomcat是Java7以上环境时才能使用webp功能。
巨大八爪鱼 2026-2-1 18:54
目前Purasbar的汤姆猫服务器用的是Java11:https://zh.purasbar.com/tools/temp2/
而在XP系统的测试环境中,最高只能安装Java8。

內容轉換:

回覆帖子
內容:
用戶名: 您目前是匿名發表。
驗證碼:
看不清?換一張