added a nice error if c_overviewer is missing, simplified composite.py
now that c_overviewer is required, we don't need to have a PIL paste() fallback. The next step is to remove composite.py entirely!
This commit is contained in:
@@ -223,6 +223,7 @@ alpha_over_wrap(PyObject *self, PyObject *args)
|
||||
/* destination position read */
|
||||
if (!PyArg_ParseTuple(pos, "iiii", &dx, &dy, &xsize, &ysize)) {
|
||||
/* try again, but this time try to read a point */
|
||||
PyErr_Clear();
|
||||
xsize = 0;
|
||||
ysize = 0;
|
||||
if (!PyArg_ParseTuple(pos, "ii", &dx, &dy)) {
|
||||
|
||||
Reference in New Issue
Block a user