diff options
author | midiland <apantiez@student.42.fr> | 2016-09-08 16:40:25 +0200 |
---|---|---|
committer | Kurt Jung <kurt.w.jung@gmail.com> | 2016-09-08 10:40:25 -0400 |
commit | 93a9d1608a79dd7957cfe4c4a8270c2b82dca6bc (patch) | |
tree | 9b0dee6946c2f478e2c658669e4447c4e8e3ceb3 | |
parent | 157aff3575e05946317098493519bb770b328972 (diff) |
Adding support CMYK in parsejpg (#81)
* adding support CMYK in jpg parseur
* adding support CMYK in parsejpg
* clear code debug
* Clear code
* Clear code
-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 |