CSSN 1000 Manual Suplementar

Página de 69
 
 
10350 Santa Monica Blvd. Suite 285, Los Angeles, CA 90025 
Phone: 310-691-8920, 310-788-9840, Fax: 419-735 -2419 
 
 
 
Card Scanning Solutions 
 
65 
 
 
 
 
Appendix D – Debugging Flags 
 
 
Developing image manipulation code may something be a very hectic task due to the many image 
format support 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 activate the message system inside the libraries so whenever an error occur the 
libraries to issue a more detailed error message that explains the failure reason.   
 
 
 
 
 
 
 
 
Appendix E – Errata Information 
 
The Cimage library currently does not supports image saving the following conditions: 
 
Saving 256 color images in JPG or TIF formats.