     if (pw) *pw = 0;     if (ph) *ph = 0;     if (!pixa)         return ERROR_INT("pixa not defined", procName, 0);     if (index < 0 || index >= pixa->n)         return ERROR_INT("index not valid", procName, 0);      if ((