Lines Matching refs:ImageopError
26 static PyObject *ImageopError; variable
58 PyErr_SetString(ImageopError, "String has incorrect length"); in check_multiply_size()
133 PyErr_SetString(ImageopError, "Size should be 1, 2 or 4"); in imageop_crop()
189 PyErr_SetString(ImageopError, "Size should be 1, 2 or 4"); in imageop_scale()
235 PyErr_SetString(ImageopError, "Size should be 1 or 4"); in imageop_tovideo()
483 PyErr_SetString(ImageopError, "String has incorrect length"); in imageop_mono2grey()
523 PyErr_SetString(ImageopError, "String has incorrect length"); in imageop_grey22grey()
561 PyErr_SetString(ImageopError, "String has incorrect length"); in imageop_grey42grey()
794 ImageopError = PyErr_NewException("imageop.error", NULL, NULL); in initimageop()
795 if (ImageopError != NULL) in initimageop()
796 PyDict_SetItemString(ImageopDict, "error", ImageopError); in initimageop()