diff options
author | Fridrich Štrba <fridrich.strba@bluewin.ch> | 2020-02-19 09:39:14 +0100 |
---|---|---|
committer | Fridrich Štrba <fridrich.strba@bluewin.ch> | 2020-02-19 09:39:14 +0100 |
commit | 04b3c20882653adf4727a4dcf18fa1b577c0f20e (patch) | |
tree | bb24d33a1be88c3f9d7ef13d14d9c7e20304a94d | |
parent | 8378597beae61ef66807a0eaf56689e6de75c203 (diff) |
Some more colour model and palette id mappings
Change-Id: Ic91d9631687208351d24d57677df834bc752523e
-rw-r--r-- | src/lib/CDRParser.cpp | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/src/lib/CDRParser.cpp b/src/lib/CDRParser.cpp index 7feba1a..ca881fc 100644 --- a/src/lib/CDRParser.cpp +++ b/src/lib/CDRParser.cpp @@ -122,6 +122,7 @@ static int parseColourString(const char *colourString, libcdr::CDRColor &colour, ("HLS", 7) ("GRAY255", 9) ("YIQ255", 11) + ("PANTONEHX", 14) ("LAB255", 18) ("REGCOLOR", 20) ("SPOT", 25) @@ -133,6 +134,12 @@ static int parseColourString(const char *colourString, libcdr::CDRColor &colour, ("DUPONT", 9) ("TOYO", 10) ("DIC", 11) + ("PAN_HEX", 12) + ("HKS", 0x17) + ("HKS_K", 0x1a) + ("HKS_N", 0x1b) + ("HKS_Z", 0x1c) + ("HKS_E", 0x1d) ; auto it = colourString; const auto end = it + std::strlen(it); |