add CMYK as a compositing space

might work!
This commit is contained in:
John Cupitt 2020-06-27 12:08:25 +01:00
parent 3428767a46
commit c9af99c2f7
1 changed files with 7 additions and 0 deletions

View File

@ -343,6 +343,13 @@ vips_composite_base_max_band( VipsCompositeBase *composite, double *max_band )
max_band[2] = 255;
break;
case VIPS_INTERPRETATION_CMYK:
max_band[0] = 255;
max_band[1] = 255;
max_band[2] = 255;
max_band[3] = 255;
break;
case VIPS_INTERPRETATION_RGB16:
max_band[0] = 65535;
max_band[1] = 65535;