def cms_do_transform2(hTransform, channel1, channel2, channel3, channel4=0): """ Accelerated variant of cms_do_transform. Adapted for PrintDesign color management. Not presented in python-lcms API. hTransform - a valid lcms transformation handle channel1, channel2, channel3, channel4 - color channel values. Must be float between 0 and 1. Returns 4-member tuple of converted color values (i.e. CMYK or RGBA) as a float between 0 and 1. """ return _cms.transformPixel2(hTransform, channel1, channel2, channel3, channel4)
def cmsDoTransform2(hTransform, channel1, channel2, channel3, channel4=0): """ Accelerated variant of cmsDoTransform. Adapted for sK1 color management. Not presented in python-lcms API. hTransform - a valid lcms transformation handle channel1, channel2, channel3, channel4 - color channel values. Must be float between 0 and 1. Returns 4-member tuple of converted color values (i.e. CMYK or RGBA) as a float between 0 and 1. """ return _cms.transformPixel2(hTransform, channel1, channel2, channel3, channel4)