summaryrefslogtreecommitdiff
path: root/graphics/gd1/files/gd_gif_out.c
diff options
context:
space:
mode:
Diffstat (limited to 'graphics/gd1/files/gd_gif_out.c')
-rw-r--r--graphics/gd1/files/gd_gif_out.c46
1 files changed, 0 insertions, 46 deletions
diff --git a/graphics/gd1/files/gd_gif_out.c b/graphics/gd1/files/gd_gif_out.c
deleted file mode 100644
index 10c7ab58000b..000000000000
--- a/graphics/gd1/files/gd_gif_out.c
+++ /dev/null
@@ -1,46 +0,0 @@
-#include <stdio.h>
-#include <math.h>
-#include <string.h>
-#include <stdlib.h>
-#include "gd.h"
-
-/*
-** Wrapper functions for GIF output.
-*/
-
-#define LZW_LICENCED
-
-void gdImageGifToSink(gdImagePtr im, gdSinkPtr outSink)
-{
- gdIOCtx *out = gdNewSSCtx(NULL,outSink);
- gdImageGifCtx(im, out);
- out->gd_free(out);
-}
-
-void gdImageGifCtx(gdImagePtr im, gdIOCtx *out)
-{
-#ifdef LZW_LICENCED
- gdImageLzwCtx(im, out);
-#else
- gdImageBigGifCtx(im, out);
-#endif
-}
-
-void gdImageGif(gdImagePtr im, FILE *outFile)
-{
-#ifdef LZW_LICENCED
- gdImageLzw(im, outFile);
-#else
- gdImageBigGif(im, outFile);
-#endif
-}
-
-void* gdImageGifPtr(gdImagePtr im, int *size)
-{
-#ifdef LZW_LICENCED
- return gdImageLzwPtr(im, size);
-#else
- return gdImageBigGifPtr(im, size);
-#endif
-}
-