mirror of
https://invent.kde.org/frameworks/kimageformats.git
synced 2025-07-18 20:04:16 -04:00
Add JPEG 2000 support
JPEG 2000 support using OpenJPEG library. - Add read/write support to JP2/J2K format for Gray/RGB(A)/CMYK images @8/16-bits - Read test case images generated by Photoshop The plugin has the following limitations: - Resolution is not set (JP2_RES box is marked "For the future" in jp2.h) - Metadata are not set (as with resolution) Closes #13
This commit is contained in:
committed by
Albert Astals Cid
parent
e6a0f8758b
commit
c97ee00f5e
@ -78,6 +78,13 @@ if(KIMAGEFORMATS_JXL)
|
||||
endif()
|
||||
add_feature_info(LibJXL LibJXL_FOUND "required for the QImage plugin for JPEG XL images")
|
||||
|
||||
option(KIMAGEFORMATS_JP2 "Enable plugin for JPEG 2000 format" ON)
|
||||
if(KIMAGEFORMATS_JP2)
|
||||
find_package(OpenJPEG CONFIG)
|
||||
endif()
|
||||
add_feature_info(OpenJPEG OpenJPEG_FOUND "required for the QImage plugin for JPEG 2000 images")
|
||||
|
||||
|
||||
find_package(LibRaw 0.20.2)
|
||||
set_package_properties(LibRaw PROPERTIES
|
||||
TYPE OPTIONAL
|
||||
|
Reference in New Issue
Block a user