00001 00019 #ifndef IMGERRS_H 00020 #define IMGERRS_H 00021 00022 #include "errcode.h" 00023 00024 const ERRCODE BADIMAGETYPE = "Unrecognized image type"; 00025 const ERRCODE CANTREADIMAGETYPE = "Can't read this image type"; 00026 const ERRCODE CANTWRITEIMAGETYPE = "Can't write this image type"; 00027 const ERRCODE IMAGEUNDEFINED = "Attempt to operate on undefined image"; 00028 const ERRCODE BADIMAGECOORDS = "Coordinates in image out of bounds"; 00029 const ERRCODE BADIMAGESEEK = "Can't seek backwards in a buffered image!"; 00030 const ERRCODE BADIMAGESIZE = "Illegal image size"; 00031 const ERRCODE BADIMAGEFORMAT = "Illegal image format"; 00032 const ERRCODE BADBPP = "Only 1,2,4,5,6,8 bpp are supported"; 00033 const ERRCODE BADWINDOW = "Convolution window must have odd dimensions"; 00034 #endif