Skip to content

Commit 6dd1e13

Browse files
committed
Added default when no adobe colour transform is present
1 parent 21a7953 commit 6dd1e13

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

src/decoder.rs

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -746,6 +746,8 @@ impl<R: Read> Decoder<R> {
746746
return ColorTransform::YCCK;
747747
}
748748
}
749+
} else if frame.components.len() == 4 {
750+
return ColorTransform::CMYK;
749751
}
750752

751753
if frame.components.len() == 4 {

0 commit comments

Comments
 (0)