Skip to content

Commit eba742a

Browse files
committed
fix byte order for mobile
1 parent 05dc878 commit eba742a

File tree

2 files changed

+20
-8
lines changed

2 files changed

+20
-8
lines changed

Gemfile.lock

Lines changed: 19 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -3,24 +3,31 @@ GEM
33
specs:
44
CFPropertyList (3.0.6)
55
rexml
6-
activesupport (7.0.8)
6+
activesupport (7.1.1)
7+
base64
8+
bigdecimal
79
concurrent-ruby (~> 1.0, >= 1.0.2)
10+
connection_pool (>= 2.2.5)
11+
drb
812
i18n (>= 1.6, < 2)
913
minitest (>= 5.1)
14+
mutex_m
1015
tzinfo (~> 2.0)
1116
addressable (2.8.5)
1217
public_suffix (>= 2.0.2, < 6.0)
1318
algoliasearch (1.27.5)
1419
httpclient (~> 2.8, >= 2.8.3)
1520
json (>= 1.5.1)
1621
atomos (0.1.3)
22+
base64 (0.2.0)
23+
bigdecimal (3.1.4)
1724
claide (1.1.0)
18-
cocoapods (1.13.0)
25+
cocoapods (1.14.2)
1926
addressable (~> 2.8)
2027
claide (>= 1.0.2, < 2.0)
21-
cocoapods-core (= 1.13.0)
28+
cocoapods-core (= 1.14.2)
2229
cocoapods-deintegrate (>= 1.0.3, < 2.0)
23-
cocoapods-downloader (>= 1.6.0, < 2.0)
30+
cocoapods-downloader (>= 2.0)
2431
cocoapods-plugins (>= 1.0.0, < 2.0)
2532
cocoapods-search (>= 1.0.0, < 2.0)
2633
cocoapods-trunk (>= 1.6.0, < 2.0)
@@ -36,7 +43,7 @@ GEM
3643
cocoapods-catalyst-support (0.2.1)
3744
cocoapods (~> 1.9)
3845
colored2 (~> 3.1)
39-
cocoapods-core (1.13.0)
46+
cocoapods-core (1.14.2)
4047
activesupport (>= 5.0, < 8)
4148
addressable (~> 2.8)
4249
algoliasearch (~> 1.0)
@@ -47,7 +54,7 @@ GEM
4754
public_suffix (~> 4.0)
4855
typhoeus (~> 1.0)
4956
cocoapods-deintegrate (1.0.5)
50-
cocoapods-downloader (1.6.3)
57+
cocoapods-downloader (2.0)
5158
cocoapods-keys (2.3.1)
5259
dotenv
5360
ruby-keychain
@@ -60,11 +67,14 @@ GEM
6067
cocoapods-try (1.2.0)
6168
colored2 (3.1.2)
6269
concurrent-ruby (1.2.2)
70+
connection_pool (2.4.1)
6371
dotenv (2.8.1)
72+
drb (2.2.0)
73+
ruby2_keywords
6474
escape (0.0.4)
6575
ethon (0.16.0)
6676
ffi (>= 1.15.0)
67-
ffi (1.16.2)
77+
ffi (1.16.3)
6878
fourflusher (2.3.1)
6979
fuzzy_match (2.0.4)
7080
gh_inspector (1.1.3)
@@ -74,6 +84,7 @@ GEM
7484
json (2.6.3)
7585
minitest (5.20.0)
7686
molinillo (0.8.0)
87+
mutex_m (0.2.0)
7788
nanaimo (0.3.0)
7889
nap (1.1.0)
7990
netrc (0.11.0)
@@ -85,6 +96,7 @@ GEM
8596
ffi
8697
og-corefoundation (~> 0.2.0)
8798
ruby-macho (2.5.1)
99+
ruby2_keywords (0.0.5)
88100
typhoeus (1.4.0)
89101
ethon (>= 0.9.0)
90102
tzinfo (2.0.6)

Sources/jxlc/JXLSystemImage.mm

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -107,7 +107,7 @@ - (nullable uint8_t*)jxlRGBAPixels:(nonnull size_t*)bufferSize width:(nonnull in
107107
NSUInteger bitsPerComponent = 8;
108108
CGContextRef context = CGBitmapContextCreate(rawData, width, height,
109109
bitsPerComponent, bytesPerRow, colorSpace,
110-
(int)kCGImageAlphaPremultipliedLast | (int)kCGBitmapByteOrder32Big);
110+
(int)kCGImageAlphaPremultipliedLast | (int)kCGImageByteOrderDefault);
111111

112112
CGContextDrawImage(context, CGRectMake(0, 0, width, height), imageRef);
113113

0 commit comments

Comments
 (0)