Skip to content
Snippets Groups Projects
Commit f137f695 authored by Henrik (Grubba) Grubbström's avatar Henrik (Grubba) Grubbström
Browse files

Added encodings/gif.h.

Rev: src/modules/Image/togif.c:1.26
parent 2304691c
Branches
Tags
No related merge requests found
...@@ -2,7 +2,7 @@ ...@@ -2,7 +2,7 @@
togif togif
$Id: togif.c,v 1.25 1997/11/08 02:52:53 grubba Exp $ $Id: togif.c,v 1.26 1997/11/11 03:46:08 grubba Exp $
old GIF API compat stuff old GIF API compat stuff
...@@ -11,7 +11,7 @@ old GIF API compat stuff ...@@ -11,7 +11,7 @@ old GIF API compat stuff
/* /*
**! module Image **! module Image
**! note **! note
**! $Id: togif.c,v 1.25 1997/11/08 02:52:53 grubba Exp $ **! $Id: togif.c,v 1.26 1997/11/11 03:46:08 grubba Exp $
**! class image **! class image
*/ */
...@@ -35,6 +35,7 @@ old GIF API compat stuff ...@@ -35,6 +35,7 @@ old GIF API compat stuff
#include "image.h" #include "image.h"
#include "colortable.h" #include "colortable.h"
#include "encodings/gif.h"
#define THIS ((struct image *)(fp->current_storage)) #define THIS ((struct image *)(fp->current_storage))
#define THISOBJ (fp->current_object) #define THISOBJ (fp->current_object)
...@@ -187,7 +188,7 @@ static void img_gif_add(INT32 args,int fs,int lm, ...@@ -187,7 +188,7 @@ static void img_gif_add(INT32 args,int fs,int lm,
} }
if (fs) image_colortable_internal_floyd_steinberg( if (fs) image_colortable_internal_floyd_steinberg(
get_storage(ncto,image_colortable_program)); (struct neo_colortable *)get_storage(ncto,image_colortable_program));
pop_n_elems(args); pop_n_elems(args);
...@@ -203,7 +204,8 @@ static void img_gif_add(INT32 args,int fs,int lm, ...@@ -203,7 +204,8 @@ static void img_gif_add(INT32 args,int fs,int lm,
{ {
unsigned char trd; unsigned char trd;
image_colortable_index_8bit_image(get_storage(ncto, image_colortable_index_8bit_image((struct neo_colortable *)
get_storage(ncto,
image_colortable_program), image_colortable_program),
transparent,&trd,1,1); transparent,&trd,1,1);
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment