diff --git a/src/lib.rs b/src/lib.rs index 2db60c2..8232fd0 100644 --- a/src/lib.rs +++ b/src/lib.rs @@ -1449,7 +1449,10 @@ fn make_colorspace<'a>(doc: &'a Document, name: &[u8], resources: &'a Dictionary } "Pattern" => { ColorSpace::Pattern - } + }, + "DeviceGray" => ColorSpace::DeviceGray, + "DeviceRGB" => ColorSpace::DeviceRGB, + "DeviceCMYK" => ColorSpace::DeviceCMYK, _ => { panic!("color_space {:?} {:?} {:?}", name, cs_name, cs) }