Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

A wrapper for libjxl (JPEG-XL) with Xcode project. Support Carthage && CocoaPods && SwiftPM.

NotificationsYou must be signed in to change notification settings

SDWebImage/libjxl-Xcode

Repository files navigation

A wrapper forlibjxl + Xcode project.

This enables Carthage support.

This also contains the Swift Package Manager support.

Carthage compatibleSwiftPM compatible

Platforms

  • iOS 9+
  • macOS 10.11+
  • tvOS 9.0+
  • watchOS 2.0+
  • visionOS 1.0+

Notes

  1. v0.10.0 will compile failed on watchOS simulator because of missing C++ thread_local(See:libjxl/libjxl#3345). Build watchOS armv7k/arm64_32 and test on device instead.

Installation

CocoaPods

libjxl is available throughCocoaPods. To install it, simply add the following line to your Podfile:

pod'libjxl'

Carthage

libjxl is (via this repo) available throughCarthage.

github "SDWebImage/libjxl-Xcode"

SwiftPM

Libjxl is available throughSwift Package Manager.

letpackage=Package(    dependencies:[.package(url:"https://github.com/SDWebImage/libjxl-Xcode", from:"0.10.0")],    // ...)

Usage

Use libjxl as you would normally, this is just a repo that adds an Xcode proj.

For Swift Package Manager user, it's recommended to use the modular import instead of C headers.

  • Objective-C
@import libjxl;// or if you don't use module#import<jxl/decode.h>#import<jxl/encode.h>
  • Swift
import libjxl

License

libjxl is available under the BSD 3-Clause license. Seethe LICENSE file for more info.

About

A wrapper for libjxl (JPEG-XL) with Xcode project. Support Carthage && CocoaPods && SwiftPM.

Topics

Resources

Stars

Watchers

Forks

Packages

No packages published

[8]ページ先頭

©2009-2025 Movatter.jp