Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion lib/api.js
Original file line number Diff line number Diff line change
Expand Up @@ -178,7 +178,7 @@ function getArrayType(bytes, float) {
if (bytes == 2) throw new Error("Float16Array not supported by LittleCMS");
return Float32Array;
}
if (bytes === 4) throw new Error("Uint32Array not supported by LittleCMS");
if (bytes === 4) return Uint8Array;
if (bytes === 2) return Uint16Array;
return Uint8Array;
}
Expand Down