src/Alg/ColorConverter.php
public static function cmyk2cmy( $cmyk )
	{
		list( $c, $m, $y, $k ) = $cmyk;
		$c	= min( 1, $c * ( 1 - $k ) + $k );
		$m	= min( 1, $m * ( 1 - $k ) + $k );
		$y	= min( 1, $y * ( 1 - $k ) + $k );
		return array( $c, $m, $y );
	}
public static function cmyk2cmy( $cmyk )
	{
		list( $c, $m, $y, $k ) = $cmyk;
		$c	= min( 1, $c * ( 1 - $k ) + $k );
		$m	= min( 1, $m * ( 1 - $k ) + $k );
		$y	= min( 1, $y * ( 1 - $k ) + $k );
		return array( $c, $m, $y );
	}
public static function cmyk2cmy ( $ cmyk ) { list ( $ c , $ m , $ y , $ k ) = $ cmyk ; $ c = min ( 1 , $ c * ( 1 - $ k ) + $ k ) ; $ m = min ( 1 , $ m * ( 1 - $ k ) + $ k ) ; $ y = min ( 1 , $ y * ( 1 - $ k ) + $ k ) ; return array ( $ c , $ m , $ y ) ; }
Converts CMYK to CMY.
@access		public
@static
@param		array	cmyk	CMYK-Color as array
@return		array
Converts CMYK to CMY .