Skip to content
GBG Documents & Biometrics Documentation

Debugging flags and errata

Developing image manipulation codes may sometimes be a very hectic task due to the many image format supports by the Cimage library. In some cases, the notorious “General Failure Event” pops up with no reasonable explanation.

To ease the debug process, a single debug property (named DebugFlag) was added to the libraries Cimage and idData.

The default value of these flags is 0 (non-active).

Setting these flags to 1 activates the message system inside the libraries so that whenever an error occurs, the libraries issue a more detailed error message that explains the failure reason.

The Cimage library currently does not support image saving in the following conditions:

  • Saving 256 color images in JPG or TIF formats.