public static void vizServerServeImage(edu.isi.webtools.http.HttpExchange xchg, Stella_Object renamed_Object, Module module) {
    { org.powerloom.PrintableStringWriter stream = edu.isi.webtools.http.HttpExchange.getReplyStream(xchg);
      String dotcommands = OntosaurusUtil.vizServerExportObject(renamed_Object, module);
      int dotexit = 0;

      if (Stella.blankStringP(dotcommands)) {
        edu.isi.webtools.http.HttpExchange.generateErrorResponse(xchg, OntosaurusUtil.KWD_BAD_REQUEST, "Nothing to graph");
        return;
      }
      edu.isi.webtools.http.HttpExchange.setReplyHeaderValue(xchg, OntosaurusUtil.KWD_CONTENT_TYPE, edu.isi.webtools.http.Http.getHttpMimeType(OntosaurusUtil.KWD_IMAGE_GIF, null));
      { OutputStream self001 = OutputStream.newOutputStream();

        self001.nativeStream = stream;
        dotexit = OntosaurusUtil.executeShellCommand(Cons.cons(StringWrapper.wrapString(OntosaurusUtil.$VIZ_DOT_PROGRAM$), Cons.cons(StringWrapper.wrapString("-Tgif"), Stella.NIL)), ".", InputStringStream.newInputStringStream(dotcommands), self001, null);
      }
      if (!(dotexit == 0)) {
        edu.isi.webtools.http.HttpExchange.generateErrorResponse(xchg, OntosaurusUtil.KWD_INTERNAL_ERROR, "Problem running `dot'");
        return;
      }
    }
  }