libics v.1.6.8 Online Documentation. ©2000-2010 by Cris Luengo and others.
Ics_Error is an enum that represents all the error codes returned by most of the functions in this library. They are sorted in alphabetical order, except for the first three values, which are special.
No error occurred. Its numerical value is 0, so you can test with "if (error) ..."
Unexpected data size (non fatal error).
The output buffer could not be completely filled (non fatal error). Returned by data reading functions if the buffer given was larger than the amount of data read.
Memory allocation error.
Image size conflicts with bits per element.
It is not possible to read COMPRESS-compressed data in blocks.
The buffer was too small to hold the given ROI.
Some error occurred during compression.
The compressed input stream is corrupted.
Some error occurred during decompression.
The Data field has already been set.
Empty field.
All history lines have already been returned.
Unexpected end of stream.
Failed to write a line in .ics file.
File close error on .ics file.
File close error on data file.
Failed to copy image data from temporary file on .ics file opened for updating.
File open error on .ics file.
File open error on data file.
File read error on .ics file.
File read error on data file.
Failed to rename .ics file opened for updating.
File write error on .ics file.
File write error on data file.
The given ROI extends outside the image.
Illegal ICS token detected.
A function parameter has a value that is not legal or does not match with a value previously given.
Line overflow writing .ics file.
Missing "bits" element in ICS file.
Missing main category.
The Data field is not yet been set.
Missing layout subcategory.
Missing parameter subcategory.
Missing representation subcategory.
Missing sensor subcategory.
Missing sensor subsubcategory.
Missing sub category.
Layout parameters missing or not defined.
The function IcsGuessScilType could not create a SCIL_TYPE string for the image as currently defined.
Not an ICS file, or unrecognized ICS version.
The function won't work on the ICS given. This is returned by the top-level functions when a 'Set' function is called on an ICS open for reading, or a 'Get' function is called on an ICS open for writing.
Too many channels specified.
Too many dimensions specified.
Too many detectors specified.
Unknown compression type.
The data type is not recognized.
libics is linking to a different version of zlib than used during compilation.