summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--fpdf.go2
1 files changed, 2 insertions, 0 deletions
diff --git a/fpdf.go b/fpdf.go
index 07005df..66cff72 100644
--- a/fpdf.go
+++ b/fpdf.go
@@ -2872,6 +2872,8 @@ func (f *Fpdf) parsejpg(r io.Reader) (info *ImageInfoType) {
info.cs = "DeviceGray"
case color.YCbCrModel:
info.cs = "DeviceRGB"
+ case color.CMYKModel:
+ info.cs = "DeviceCMYK"
default:
f.err = fmt.Errorf("image JPEG buffer has unsupported color space (%v)", config.ColorModel)
return