This method saves a raster image into seperate CMYK planes. The saved images are in BMP format.

[Visual Basic] Public Function CMYKBmpPlaneFileSave(CFileName As String, MFileName As String, YFileName As String, KFileName As String, SaveImage As Image) As Boolean
[C#] public bool CMYKBmpPlaneFileSave(string CFileName, string MFileName, string YFileName, string KFileName, Image SaveImage);

Parameters

CFileName
    The filename of the saved C plane image

MFileName
    The filename of the saved M plane image

YFileName
    The filename of the saved Y plane image

KFileName
    The filename of the saved K plane image

SaveImage
    The saved image

Return Value

Returns True if successful. Returns False if unsuccessful.

Explanation

The CMYKBmpPlaneFileSave method saves a raster image into seperate CMYK planes. The saved images are in BMP format.

When the SaveImage parameter contains a valid image handle

The image set in the SaveImage parameter will be saved as four seperate images each corresponding to the various CMYK planes.

When the SaveImage parameter contains 0

The image referred to by the LayerNumber property (either the image set in the Image property or the image set in the Layer(LayerNumber).Imgae property as the case may be) will be saved as four seperate images each corresponding to the various CMYK planes.

Note: When the LayerNumber property is -1, the image set in the Image property is enabled. When the LayerNumber property has values from 0 to 99, the image set in the Layer(LayerNumber).Image property is enabled.

The input image (that image set in the SaveImage parameter) must be 24 bit color. The output images (corresponding to the various CMYK planes) will be 8 bit grayscale.

See Also

ImageKit.File Members | Newtone.ImageKit.Wpf.ImageKit

The ImageKit WPF is created by Newtone Corporation