aWriteStream");  #if !HAVE_LIBPNG     /* defined in environ.h and config_auto.h */     return ERROR_INT("no libpng: can't read data", procName, 0); #endif  /* !HAVE_LIBPNG */      if (!fp)         return ERROR_INT("stream not defined", procName, 0);     if (!paa)         return ERROR_INT("paa not defined", procName, 0);      n = pixaaGetCount(paa, NULL);     f