Skip to content
Snippets Groups Projects
Commit 141a1cb8 authored by Mirar (Pontus Hagland)'s avatar Mirar (Pontus Hagland)
Browse files

gif added

Rev: src/modules/Image/encodings/any.c:1.10
parent 52da12a0
No related branches found
No related tags found
No related merge requests found
/* $Id: any.c,v 1.9 1999/05/23 17:46:49 mirar Exp $ */ /* $Id: any.c,v 1.10 1999/05/28 13:30:51 mirar Exp $ */
/* /*
**! module Image **! module Image
**! note **! note
**! $Id: any.c,v 1.9 1999/05/23 17:46:49 mirar Exp $ **! $Id: any.c,v 1.10 1999/05/28 13:30:51 mirar Exp $
**! submodule ANY **! submodule ANY
**! **!
**! This method calls the other decoding methods **! This method calls the other decoding methods
...@@ -23,7 +23,7 @@ ...@@ -23,7 +23,7 @@
#include <ctype.h> #include <ctype.h>
#include "stralloc.h" #include "stralloc.h"
RCSID("$Id: any.c,v 1.9 1999/05/23 17:46:49 mirar Exp $"); RCSID("$Id: any.c,v 1.10 1999/05/28 13:30:51 mirar Exp $");
#include "pike_macros.h" #include "pike_macros.h"
#include "operators.h" #include "operators.h"
#include "builtin_functions.h" #include "builtin_functions.h"
...@@ -113,8 +113,7 @@ void image_any__decode(INT32 args) ...@@ -113,8 +113,7 @@ void image_any__decode(INT32 args)
case CHAR2('G','I'): case CHAR2('G','I'):
/* GIF */ /* GIF */
image_gif__decode(1); image_gif_decode_map(1);
error("can't handle gif's yet\n");
return; return;
case CHAR2('F','O'): case CHAR2('F','O'):
...@@ -177,9 +176,9 @@ void init_image_any(void) ...@@ -177,9 +176,9 @@ void init_image_any(void)
add_function("_decode",image_any__decode, add_function("_decode",image_any__decode,
"function(string:mapping)",0); "function(string:mapping)",0);
add_function("decode",image_any_decode, add_function("decode",image_any_decode,
"function(string:mapping)",0); "function(string:object)",0);
add_function("decode_alpha",image_any_decode_alpha, add_function("decode_alpha",image_any_decode_alpha,
"function(string:mapping)",0); "function(string:object)",0);
} }
void exit_image_any(void) void exit_image_any(void)
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment