mitsu_m1: Add support for new "vivid" color profile

(the new "natural" profile is identical to the old standard one)
master
Solomon Peachy 2 years ago
parent 414d280072
commit fde51ddcf4
  1. 5
      backend_mitsud90.c
  2. BIN
      icm/Mitsubishi/CP-M1_M15/CPM1_Vivid.icc
  3. 258
      lib70x/data/CPM1_G5_vivid.csv

@ -39,6 +39,7 @@
#define CPM1_CPC_FNAME "CPM1_N1.csv"
#define CPM1_CPC_G1_FNAME "CPM1_G1.csv"
#define CPM1_CPC_G5_FNAME "CPM1_G5.csv"
#define CPM1_CPC_G5_VIVID_FNAME "CPM1_G5_vivid.csv"
#define CPM1_LUT_FNAME "CPM1_NL.lut"
/* Printer data structures */
@ -945,6 +946,8 @@ static int mitsud90_main_loop(void *vctx, const void *vjob) {
const char *gammatab;
if (job->m1_colormode == 1) {
gammatab = CPM1_CPC_G5_FNAME;
} else if (job->m1_colormode == 3) {
gammatab = CPM1_CPC_G5_VIVID_FNAME;
} else { /* Mode 0 or 2 */
gammatab = CPM1_CPC_G1_FNAME;
}
@ -1687,7 +1690,7 @@ static const char *mitsud90_prefixes[] = {
/* Exported */
const struct dyesub_backend mitsud90_backend = {
.name = "Mitsubishi CP-D90/CP-M1",
.version = "0.29" " (lib " LIBMITSU_VER ")",
.version = "0.30" " (lib " LIBMITSU_VER ")",
.uri_prefixes = mitsud90_prefixes,
.cmdline_arg = mitsud90_cmdline_arg,
.cmdline_usage = mitsud90_cmdline,

BIN
icm/Mitsubishi/CP-M1_M15/CPM1_Vivid.icc (Stored with Git LFS)

Binary file not shown.

@ -0,0 +1,258 @@
INDEX,GNM_A-B,GNM_A-G,GNM_A-R
256,256,256,256
0,0,253,0
1,78,320,74
2,156,387,147
3,233,454,221
4,311,521,294
5,389,588,368
6,467,655,441
7,545,722,515
8,623,789,588
9,700,856,662
10,778,923,735
11,856,990,809
12,934,1057,882
13,1012,1123,956
14,1089,1190,1029
15,1167,1257,1103
16,1245,1324,1176
17,1313,1382,1238
18,1379,1437,1297
19,1445,1492,1355
20,1511,1547,1414
21,1575,1600,1470
22,1638,1652,1525
23,1701,1704,1581
24,1764,1756,1636
25,1827,1808,1691
26,1890,1860,1746
27,1953,1912,1801
28,2016,1964,1856
29,2079,2016,1911
30,2142,2068,1967
31,2205,2121,2022
32,2268,2173,2077
33,2333,2230,2137
34,2401,2291,2201
35,2468,2352,2265
36,2536,2413,2329
37,2605,2478,2397
38,2675,2545,2466
39,2746,2612,2536
40,2816,2679,2606
41,2886,2746,2676
42,2957,2812,2746
43,3027,2879,2816
44,3098,2946,2885
45,3168,3013,2955
46,3238,3080,3025
47,3309,3147,3095
48,3379,3214,3165
49,3448,3281,3235
50,3514,3348,3307
51,3580,3415,3378
52,3646,3482,3449
53,3709,3549,3521
54,3768,3616,3595
55,3828,3683,3668
56,3887,3750,3742
57,3946,3817,3815
58,4005,3884,3889
59,4065,3951,3962
60,4124,4018,4036
61,4183,4085,4109
62,4243,4152,4183
63,4302,4219,4256
64,4361,4286,4330
65,4421,4353,4403
66,4481,4420,4474
67,4541,4487,4546
68,4601,4554,4617
69,4661,4620,4687
70,4724,4687,4749
71,4787,4754,4812
72,4850,4821,4874
73,4913,4888,4937
74,4976,4955,4999
75,5039,5022,5061
76,5102,5089,5124
77,5165,5156,5186
78,5228,5223,5249
79,5291,5290,5311
80,5354,5357,5374
81,5417,5424,5436
82,5480,5491,5499
83,5543,5558,5561
84,5606,5625,5624
85,5669,5692,5686
86,5721,5740,5730
87,5773,5789,5775
88,5825,5837,5819
89,5877,5885,5863
90,5929,5934,5907
91,5980,5982,5951
92,6032,6030,5995
93,6084,6079,6039
94,6136,6127,6083
95,6188,6176,6127
96,6240,6224,6172
97,6292,6272,6216
98,6344,6321,6260
99,6395,6369,6304
100,6447,6417,6348
101,6499,6466,6392
102,6563,6533,6455
103,6630,6605,6523
104,6696,6678,6591
105,6763,6750,6658
106,6833,6827,6730
107,6903,6905,6804
108,6973,6983,6877
109,7044,7061,6951
110,7114,7139,7024
111,7185,7217,7098
112,7255,7295,7171
113,7326,7373,7245
114,7396,7452,7318
115,7466,7530,7392
116,7537,7608,7465
117,7607,7686,7539
118,7675,7760,7608
119,7741,7831,7675
120,7807,7903,7742
121,7873,7974,7809
122,7937,8043,7873
123,8000,8110,7936
124,8063,8177,7998
125,8126,8244,8061
126,8189,8311,8123
127,8252,8378,8186
128,8315,8445,8248
129,8378,8512,8311
130,8441,8579,8373
131,8504,8646,8436
132,8567,8713,8498
133,8630,8780,8561
134,8693,8847,8623
135,8758,8916,8686
136,8822,8984,8748
137,8887,9053,8811
138,8952,9122,8873
139,9019,9193,8936
140,9086,9263,8998
141,9152,9334,9061
142,9219,9405,9123
143,9286,9475,9186
144,9352,9546,9248
145,9419,9617,9311
146,9486,9687,9373
147,9552,9758,9436
148,9619,9829,9498
149,9686,9899,9561
150,9752,9969,9622
151,9816,10037,9682
152,9879,10105,9741
153,9943,10173,9801
154,10004,10238,9858
155,10056,10294,9906
156,10108,10350,9954
157,10160,10405,10002
158,10212,10461,10049
159,10264,10517,10097
160,10316,10573,10145
161,10368,10629,10193
162,10419,10684,10241
163,10471,10740,10288
164,10523,10796,10336
165,10575,10852,10384
166,10627,10908,10432
167,10679,10963,10479
168,10731,11019,10527
169,10783,11075,10575
170,10834,11131,10623
171,10905,11198,10693
172,10975,11265,10762
173,11046,11332,10832
174,11116,11399,10902
175,11186,11466,10972
176,11257,11533,11042
177,11327,11600,11112
178,11398,11666,11182
179,11468,11733,11251
180,11538,11800,11321
181,11609,11867,11391
182,11679,11934,11461
183,11750,12001,11531
184,11820,12068,11601
185,11890,12135,11670
186,11961,12202,11740
187,12027,12264,11805
188,12091,12325,11869
189,12155,12386,11933
190,12220,12447,11997
191,12283,12507,12060
192,12346,12567,12123
193,12409,12626,12185
194,12472,12686,12247
195,12535,12745,12310
196,12598,12805,12372
197,12661,12864,12435
198,12724,12924,12497
199,12787,12983,12560
200,12850,13043,12622
201,12913,13102,12685
202,12976,13162,12747
203,13039,13219,12804
204,13102,13274,12858
205,13165,13329,12912
206,13228,13384,12965
207,13291,13437,13016
208,13354,13489,13064
209,13417,13541,13111
210,13480,13594,13159
211,13543,13646,13207
212,13606,13698,13255
213,13669,13750,13302
214,13732,13802,13350
215,13795,13854,13398
216,13858,13906,13446
217,13921,13958,13494
218,13984,14010,13541
219,14046,14063,13590
220,14108,14116,13639
221,14169,14170,13688
222,14231,14224,13738
223,14292,14278,13788
224,14351,14334,13839
225,14410,14390,13891
226,14469,14445,13942
227,14529,14501,13993
228,14588,14557,14045
229,14647,14613,14096
230,14707,14669,14148
231,14766,14724,14199
232,14825,14780,14251
233,14884,14836,14302
234,14944,14892,14354
235,15003,14947,14406
236,15060,15002,14459
237,15118,15056,14513
238,15176,15110,14567
239,15233,15163,14622
240,15285,15212,14684
241,15336,15260,14747
242,15388,15309,14809
243,15440,15357,14872
244,15492,15405,14934
245,15544,15454,14997
246,15596,15502,15059
247,15648,15550,15122
248,15700,15599,15184
249,15751,15647,15247
250,15803,15695,15309
251,15855,15744,15372
252,15907,15792,15434
253,15959,15841,15497
254,16011,15889,15559
255,16063,15937,15622
1 INDEX GNM_A-B GNM_A-G GNM_A-R
2 256 256 256 256
3 0 0 253 0
4 1 78 320 74
5 2 156 387 147
6 3 233 454 221
7 4 311 521 294
8 5 389 588 368
9 6 467 655 441
10 7 545 722 515
11 8 623 789 588
12 9 700 856 662
13 10 778 923 735
14 11 856 990 809
15 12 934 1057 882
16 13 1012 1123 956
17 14 1089 1190 1029
18 15 1167 1257 1103
19 16 1245 1324 1176
20 17 1313 1382 1238
21 18 1379 1437 1297
22 19 1445 1492 1355
23 20 1511 1547 1414
24 21 1575 1600 1470
25 22 1638 1652 1525
26 23 1701 1704 1581
27 24 1764 1756 1636
28 25 1827 1808 1691
29 26 1890 1860 1746
30 27 1953 1912 1801
31 28 2016 1964 1856
32 29 2079 2016 1911
33 30 2142 2068 1967
34 31 2205 2121 2022
35 32 2268 2173 2077
36 33 2333 2230 2137
37 34 2401 2291 2201
38 35 2468 2352 2265
39 36 2536 2413 2329
40 37 2605 2478 2397
41 38 2675 2545 2466
42 39 2746 2612 2536
43 40 2816 2679 2606
44 41 2886 2746 2676
45 42 2957 2812 2746
46 43 3027 2879 2816
47 44 3098 2946 2885
48 45 3168 3013 2955
49 46 3238 3080 3025
50 47 3309 3147 3095
51 48 3379 3214 3165
52 49 3448 3281 3235
53 50 3514 3348 3307
54 51 3580 3415 3378
55 52 3646 3482 3449
56 53 3709 3549 3521
57 54 3768 3616 3595
58 55 3828 3683 3668
59 56 3887 3750 3742
60 57 3946 3817 3815
61 58 4005 3884 3889
62 59 4065 3951 3962
63 60 4124 4018 4036
64 61 4183 4085 4109
65 62 4243 4152 4183
66 63 4302 4219 4256
67 64 4361 4286 4330
68 65 4421 4353 4403
69 66 4481 4420 4474
70 67 4541 4487 4546
71 68 4601 4554 4617
72 69 4661 4620 4687
73 70 4724 4687 4749
74 71 4787 4754 4812
75 72 4850 4821 4874
76 73 4913 4888 4937
77 74 4976 4955 4999
78 75 5039 5022 5061
79 76 5102 5089 5124
80 77 5165 5156 5186
81 78 5228 5223 5249
82 79 5291 5290 5311
83 80 5354 5357 5374
84 81 5417 5424 5436
85 82 5480 5491 5499
86 83 5543 5558 5561
87 84 5606 5625 5624
88 85 5669 5692 5686
89 86 5721 5740 5730
90 87 5773 5789 5775
91 88 5825 5837 5819
92 89 5877 5885 5863
93 90 5929 5934 5907
94 91 5980 5982 5951
95 92 6032 6030 5995
96 93 6084 6079 6039
97 94 6136 6127 6083
98 95 6188 6176 6127
99 96 6240 6224 6172
100 97 6292 6272 6216
101 98 6344 6321 6260
102 99 6395 6369 6304
103 100 6447 6417 6348
104 101 6499 6466 6392
105 102 6563 6533 6455
106 103 6630 6605 6523
107 104 6696 6678 6591
108 105 6763 6750 6658
109 106 6833 6827 6730
110 107 6903 6905 6804
111 108 6973 6983 6877
112 109 7044 7061 6951
113 110 7114 7139 7024
114 111 7185 7217 7098
115 112 7255 7295 7171
116 113 7326 7373 7245
117 114 7396 7452 7318
118 115 7466 7530 7392
119 116 7537 7608 7465
120 117 7607 7686 7539
121 118 7675 7760 7608
122 119 7741 7831 7675
123 120 7807 7903 7742
124 121 7873 7974 7809
125 122 7937 8043 7873
126 123 8000 8110 7936
127 124 8063 8177 7998
128 125 8126 8244 8061
129 126 8189 8311 8123
130 127 8252 8378 8186
131 128 8315 8445 8248
132 129 8378 8512 8311
133 130 8441 8579 8373
134 131 8504 8646 8436
135 132 8567 8713 8498
136 133 8630 8780 8561
137 134 8693 8847 8623
138 135 8758 8916 8686
139 136 8822 8984 8748
140 137 8887 9053 8811
141 138 8952 9122 8873
142 139 9019 9193 8936
143 140 9086 9263 8998
144 141 9152 9334 9061
145 142 9219 9405 9123
146 143 9286 9475 9186
147 144 9352 9546 9248
148 145 9419 9617 9311
149 146 9486 9687 9373
150 147 9552 9758 9436
151 148 9619 9829 9498
152 149 9686 9899 9561
153 150 9752 9969 9622
154 151 9816 10037 9682
155 152 9879 10105 9741
156 153 9943 10173 9801
157 154 10004 10238 9858
158 155 10056 10294 9906
159 156 10108 10350 9954
160 157 10160 10405 10002
161 158 10212 10461 10049
162 159 10264 10517 10097
163 160 10316 10573 10145
164 161 10368 10629 10193
165 162 10419 10684 10241
166 163 10471 10740 10288
167 164 10523 10796 10336
168 165 10575 10852 10384
169 166 10627 10908 10432
170 167 10679 10963 10479
171 168 10731 11019 10527
172 169 10783 11075 10575
173 170 10834 11131 10623
174 171 10905 11198 10693
175 172 10975 11265 10762
176 173 11046 11332 10832
177 174 11116 11399 10902
178 175 11186 11466 10972
179 176 11257 11533 11042
180 177 11327 11600 11112
181 178 11398 11666 11182
182 179 11468 11733 11251
183 180 11538 11800 11321
184 181 11609 11867 11391
185 182 11679 11934 11461
186 183 11750 12001 11531
187 184 11820 12068 11601
188 185 11890 12135 11670
189 186 11961 12202 11740
190 187 12027 12264 11805
191 188 12091 12325 11869
192 189 12155 12386 11933
193 190 12220 12447 11997
194 191 12283 12507 12060
195 192 12346 12567 12123
196 193 12409 12626 12185
197 194 12472 12686 12247
198 195 12535 12745 12310
199 196 12598 12805 12372
200 197 12661 12864 12435
201 198 12724 12924 12497
202 199 12787 12983 12560
203 200 12850 13043 12622
204 201 12913 13102 12685
205 202 12976 13162 12747
206 203 13039 13219 12804
207 204 13102 13274 12858
208 205 13165 13329 12912
209 206 13228 13384 12965
210 207 13291 13437 13016
211 208 13354 13489 13064
212 209 13417 13541 13111
213 210 13480 13594 13159
214 211 13543 13646 13207
215 212 13606 13698 13255
216 213 13669 13750 13302
217 214 13732 13802 13350
218 215 13795 13854 13398
219 216 13858 13906 13446
220 217 13921 13958 13494
221 218 13984 14010 13541
222 219 14046 14063 13590
223 220 14108 14116 13639
224 221 14169 14170 13688
225 222 14231 14224 13738
226 223 14292 14278 13788
227 224 14351 14334 13839
228 225 14410 14390 13891
229 226 14469 14445 13942
230 227 14529 14501 13993
231 228 14588 14557 14045
232 229 14647 14613 14096
233 230 14707 14669 14148
234 231 14766 14724 14199
235 232 14825 14780 14251
236 233 14884 14836 14302
237 234 14944 14892 14354
238 235 15003 14947 14406
239 236 15060 15002 14459
240 237 15118 15056 14513
241 238 15176 15110 14567
242 239 15233 15163 14622
243 240 15285 15212 14684
244 241 15336 15260 14747
245 242 15388 15309 14809
246 243 15440 15357 14872
247 244 15492 15405 14934
248 245 15544 15454 14997
249 246 15596 15502 15059
250 247 15648 15550 15122
251 248 15700 15599 15184
252 249 15751 15647 15247
253 250 15803 15695 15309
254 251 15855 15744 15372
255 252 15907 15792 15434
256 253 15959 15841 15497
257 254 16011 15889 15559
258 255 16063 15937 15622
Loading…
Cancel
Save