diff options
-rw-r--r-- | fpdf.go | 2 |
1 files changed, 2 insertions, 0 deletions
@@ -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 |