Skip to content

Commit 0cdb725

Browse files
committed
added animation decoder and encoder
1 parent 0eb1f19 commit 0cdb725

File tree

2 files changed

+4
-0
lines changed

2 files changed

+4
-0
lines changed

Sources/JxlCoder/JXLAnimatedDecoder.swift

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,9 @@
2424
//
2525

2626
import Foundation
27+
#if canImport(jxlc)
2728
import jxlc
29+
#endif
2830

2931
public class JXLAnimatedDecoder {
3032

Sources/JxlCoder/JXLAnimatedEncoder.swift

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,9 @@
2424
//
2525

2626
import Foundation
27+
#if canImport(jxlc)
2728
import jxlc
29+
#endif
2830

2931
public class JXLAnimatedEncoder {
3032

0 commit comments

Comments
 (0)