mirror of
https://invent.kde.org/frameworks/kimageformats.git
synced 2026-02-21 23:43:03 -05:00
jxl: Disable color conversion for animations
Workaround for issue https://github.com/libjxl/libjxl/issues/3983 libjxl_cms is used for color conversion of lossy static images. Fix loading of lossy grayscale images Fix loading of grayscale images with odd width
This commit is contained in:
@ -71,6 +71,13 @@ endif()
|
||||
if (LibJXL_FOUND AND LibJXLThreads_FOUND)
|
||||
kimageformats_add_plugin(kimg_jxl SOURCES jxl.cpp)
|
||||
target_link_libraries(kimg_jxl PRIVATE PkgConfig::LibJXL PkgConfig::LibJXLThreads)
|
||||
if(LibJXL_VERSION VERSION_GREATER_EQUAL "0.9.0")
|
||||
if(LibJXLCMS_FOUND)
|
||||
target_link_libraries(kimg_jxl PRIVATE PkgConfig::LibJXLCMS)
|
||||
else()
|
||||
message(SEND_ERROR "libjxl_cms was not found!")
|
||||
endif()
|
||||
endif()
|
||||
endif()
|
||||
|
||||
##################################
|
||||
|
||||
Reference in New Issue
Block a user