1 #ifndef SCCOLORSPACEDATA_CMYK_H
2 #define SCCOLORSPACEDATA_CMYK_H
7 #include "sccolorprofile.h"
8 #include "sccolorspacedata.h"
10 template<
typename T, eColorFormat COLORFORMAT>
22 virtual uint alphaIndex(
void)
const {
return 0; }
23 virtual void flattenAlpha(
void* dataIn, uint numElems)
const {};
26 template<
typename T, eColorFormat COLORFORMAT>
29 m_colorFormat = COLORFORMAT;
31 if (m_colorFormat == Format_CMYK_8 || m_colorFormat == Format_CMYK_16)
38 else if (m_colorFormat == Format_YMCK_8 || m_colorFormat == Format_YMCK_16)
51 assert(m_profile.colorSpace() == ColorSpace_Cmyk || m_profile.colorSpace() == ColorSpace_Cmy);
Definition: sccolorprofile.h:16
Definition: sccolorspacedata.h:17
Definition: sccolorspacedata_cmyk.h:11