aboutsummaryrefslogtreecommitdiffstats
path: root/graphics/gdtclft/files/patch-gif
blob: f7dbb16b5b619d987fc435670740e59c61091ede (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
--- gdCmd.c Fri Aug  4 17:11:05 2000
+++ gdCmd.c Fri Jul 27 16:22:18 2001
@@ -65,4 +65,6 @@
    {"createFromPNG",   tclGdCreateCmd,         1, 1,   0, 0,
            "filehandle"},
+   {"createFromGIF",   tclGdCreateCmd,         1, 1,   0, 0,
+           "filehandle"},
    {"createFromGD",    tclGdCreateCmd,         1, 1,   0, 0,
            "filehandle"},
@@ -432,4 +434,6 @@
        } else if (cmd[10] == 'X') {
            im = gdImageCreateFromXbm(filePtr);
+       } else if (cmd[11] == 'I') {
+           im = gdImageCreateFromGif(filePtr);
        } else {
            im = gdImageCreateFromGd(filePtr);