eseifert / vectorgraphics2d

Graphics2D implementations to export various vector file formats
Eclipse Public License 2.0
108 stars 28 forks source link

Add support for CMYK color space #39

Closed eseifert closed 8 years ago

eseifert commented 8 years ago

EPS already supports CMYK colors (see https://github.com/eseifert/vectorgraphics2d/pull/38). We should add support to PDF and SVG as well.

eseifert commented 8 years ago

Added support for CMYK to PDF (https://github.com/eseifert/vectorgraphics2d/commit/239584eb226f096d61949f8917f66edb476206fb) and SVG (https://github.com/eseifert/vectorgraphics2d/commit/586711b5a933757ac436f0907bf5cc9bc6b61ddd). It's still untested though. The bug can be closed as soon as CMYK output was tested with EPS, PDF, and SVG.

eseifert commented 8 years ago

CMYK support works fine for EPS and PDF. SVG 1.1 lacks support, but I tried to implement a solution with ICC colors which has yet to be tested in an applications that supports SVG ICC colors. I will close this bug for now.