-
Notifications
You must be signed in to change notification settings - Fork 1.1k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #10044 from cyruscook/pr-jxl-format
JPEG XL output format support
- Loading branch information
Showing
17 changed files
with
787 additions
and
18 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -49,3 +49,5 @@ brew 'cmocka' | |
brew 'curl' | ||
brew 'perl' | ||
brew 'jpeg' | ||
brew 'jpeg-xl' | ||
brew 'webp' |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -416,6 +416,7 @@ jobs: | |
libgphoto2:p | ||
libheif:p | ||
libjpeg-turbo:p | ||
libjxl:p | ||
libsecret:p | ||
libsoup:p | ||
libwebp:p | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -62,6 +62,7 @@ jobs: | |
libgphoto2:p | ||
libheif:p | ||
libjpeg-turbo:p | ||
libjxl:p | ||
libsecret:p | ||
libsoup:p | ||
libwebp:p | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,38 @@ | ||
# Find libjxl | ||
# Will define: | ||
# - JXL_FOUND | ||
# - JXL_INCLUDE_DIRS directory to include for libjxl headers | ||
# - JXL_LIBRARIES libraries to link to | ||
|
||
include(LibFindMacros) | ||
|
||
# Use pkg-config to get hints about paths | ||
# libfind_pkg_check_modules(JXL_PKGCONF libjxl) <- this isn't working? | ||
pkg_check_modules(JXL_PKGCONF QUIET libjxl) | ||
|
||
find_path(JXL_INCLUDE_DIR | ||
NAMES jxl/encode.h | ||
HINTS ${JXL_PKGCONF_INCLUDE_DIRS} | ||
) | ||
|
||
find_library(JXL_LIBRARY | ||
NAMES jxl | ||
HINTS ${JXL_PKGCONF_LIBRARY_DIRS} | ||
) | ||
|
||
find_library(JXL_THREADS_LIBRARY | ||
NAMES jxl_threads | ||
HINTS ${JXL_PKGCONF_LIBRARY_DIRS} | ||
) | ||
|
||
include(FindPackageHandleStandardArgs) | ||
find_package_handle_standard_args(JXL DEFAULT_MSG JXL_LIBRARY JXL_INCLUDE_DIR) | ||
|
||
if(JXL_PKGCONF_VERSION VERSION_LESS JXL_FIND_VERSION) | ||
set(JXL_FOUND false) | ||
endif() | ||
|
||
if(JXL_FOUND) | ||
set(JXL_LIBRARIES ${JXL_LIBRARY} ${JXL_THREADS_LIBRARY}) | ||
set(JXL_INCLUDE_DIRS ${JXL_INCLUDE_DIR}) | ||
endif(JXL_FOUND) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.