Return a Bitmap with the CMYK specified channel. The result Bitmap is a gray level representation of the specified channel.
Or copies the CMYK channels to separate bitmaps.
Channel is the CMYK channel. You can specify one of the following constants:
Constants
Channel
CMYK_C (0)
Cyan
CMYK_M (1)
Magenta
CMYK_Y (2)
Yellow
CMYK_K (3)
Black ("Key")
Note: ◼If the image PixelFormat is not ie24RGB or ie32RGB, it will be converted ◼You need to free the bitmap returned by GetCMYKChannels()
Demos
Demos\ImageEditing\CompleteEditor\PhotoEn.dpr
Demos\ImageEditing\EveryMethod\EveryMethod.dpr
Image Testing
// Load test image ImageEnView1.IO.LoadFromFile( 'D:\TestImage.jpg' );
// Return the Cyan channel of the image bmp1 := ImageEnView1.Proc.GetCMYKChannels( CMYK_C );
// Return the Magenta channel of the image bmp1 := ImageEnView1.Proc.GetCMYKChannels( CMYK_M );
// Return the Yellow channel of the image bmp1 := ImageEnView1.Proc.GetCMYKChannels( CMYK_Y );
// Return the Key (black) channel of the image bmp1 := ImageEnView1.Proc.GetCMYKChannels( CMYK_K );