Skip to main content

McolSave

BoardSupported
Host SystemYes
V4L2Yes
Clarity UHDYes
Concord PoENo
GenTLYes
GevIQYes
GigE VisionYes
IndioNo
Iris GTXYes
Radient eV-CLYes
Rapixo CLYes
Rapixo CoFYes
Rapixo CXPYes
USB3 VisionYes

Save a color matching or relative color calibration context to a file.

Syntax

void McolSave(
AIL_CONST_TEXT_PTR FileName, //in
AIL_ID ContextId, //in
AIL_INT64 ControlFlag //in
)

Description

This function saves to disk all the information about the previously allocated color matching or relative color calibration context (and the color-samples contained therein). However, preprocessing information is not saved. You can reload the saved information, using McolRestore or McolStream.

Parameters

FileName (in, AIL_CONST_TEXT_PTR)

Specifies the name and path of the file in which to save the context. Set this parameter to one of the following values:

For specifying the file name and path

ValueDescription
M_INTERACTIVEOpens the File Save As dialog box from which you can interactively specify the drive, directory, and name of the file.
"FileName"Specifies the drive, directory, and name of the file (for example, "C:\mydirectory\myfile"). For easier use with other Aurora Imaging software products, when saving a color matching context to a file, use the MCOL file extension. When saving a relative color calibration context to a file, use the MCCC file extension.

To save the file on the remote computer (under Distributed Aurora Imaging Library), prefix the specified file name string with "remote:///" (for example, "remote:///C:\mydirectory\myfile"). |

ContextId (in, AIL_ID)

Specifies the identifier of the context to save. The context must have been previously allocated on the required system using McolAlloc with M_COLOR_CALIBRATION_RELATIVE or M_COLOR_MATCHING.

ControlFlag (in, AIL_INT64)

Reserved for future expansion and must be set to M_DEFAULT.

Copyright © 2026 Zebra Technologies.