From a32dff24dae1b6c81a45a196ab83d116af59f557 Mon Sep 17 00:00:00 2001 From: ellson Date: Fri, 7 Sep 2007 11:41:31 +0000 Subject: [PATCH] no gdImageXbm() --- tclpkg/gdtclft/gdtclft.c | 3 +++ 1 file changed, 3 insertions(+) diff --git a/tclpkg/gdtclft/gdtclft.c b/tclpkg/gdtclft/gdtclft.c index 4b45d7b48..bae525666 100644 --- a/tclpkg/gdtclft/gdtclft.c +++ b/tclpkg/gdtclft/gdtclft.c @@ -662,9 +662,12 @@ tclGdWriteCmd(Tcl_Interp * interp, GdData * gdData, int argc, color for the B&W wbmp image. */ int foreground = gdImageColorClosest(im, 0, 0, 0); gdImageWBMP(im, foreground, filePtr); +#if 0 +/* libgd only supports reading xbm format */ #ifdef HAVE_GD_XPM } else if (strcmp(&cmd[5], "XBM") == 0) { gdImageXbm(im, filePtr); +#endif #endif } else { /* cannot happen - but would result in an empty output file */ -- 2.40.0