I will first describe the bug in Chinese, and then translate it into English
现有一张jpg格式的图片,内嵌有icc配置文件,我使用谷歌的cwebp命令行工具进行转换,命令如下
cwebp -mt -metadata icc xxx.jpg -o xxx.webp
其中-metadata icc命令用于保留icc配置文件。当用honeyview浏览转换后的webp文件时发现与原图颜色有较大区别。下面这张图片是二者的对比,左侧是jpg格式的原图,右侧是webp格式
我也尝试使用XnView MP这个软件以及chrome浏览器打开转换后的webp文件,颜色均与原图一直,所以我认为honeyview没有正确的加载webp文件中的icc配置文件
----------------------------------------------------------------------------------------------------------------------------------------------
There is an image in jpg format with embedded icc configuration file, I use Google's cwebp command line tool to convert it with the following command
cwebp -mt -metadata icc xxx.jpg -o xxx.webp
One of the -metadata icc commands is used to keep the icc configuration file. When browsing the converted webp file with honeyview, I found a big difference in color from the original image. The following image is a comparison of the two, the left side is the original image in jpg format, the right side is in webp format.
I also tried to open the converted webp file using XnView MP software and Chrome browser, the colors are all the same as the original image, so I think honeyview did not load the ICC profile in the webp file correctly.