rnd-19981118-1
[rocksndiamonds.git] / src / gif.c
index bbeb6aba3baf73f0ea10d8eb2f319c057e50d900..bf3f5fc73d2d5d2411e6311ffcf806ba366aa227 100644 (file)
--- a/src/gif.c
+++ b/src/gif.c
@@ -3,8 +3,8 @@
 
 #define GIF_C
 
-#include "xli.h"
 #include "gif.h"
+#include "image.h"
 
 #define PUSH_PIXEL(p)                                       \
 {                                                           \
@@ -468,7 +468,7 @@ static int gifin_add_string(int p, int e)
   return GIFIN_SUCCESS;
 }
 
-Image *gifLoad(char *fullname)
+Image *Read_GIF_to_Image(char *fullname)
 {
   FILE *f;
   Image *image;
@@ -492,17 +492,22 @@ Image *gifLoad(char *fullname)
     return(NULL);
   }
 
+
+
+  /*
   printf("%s:\n   %dx%d %s%s image with %d colors at depth %d\n",
         fullname, gifin_img_width, gifin_img_height,
         (gifin_interlace_flag ? "interlaced " : ""),
         gif_version_name[gifin_version],
         (gifin_l_cmap_flag ? gifin_l_ncolors : gifin_g_ncolors),
         (gifin_l_cmap_flag ? gifin_l_pixel_bits : gifin_g_pixel_bits));
+        */
+
+
 
   image = newRGBImage(gifin_img_width, gifin_img_height, (gifin_l_cmap_flag ?
                                                          gifin_l_pixel_bits :
                                                          gifin_g_pixel_bits));
-  image->title = dupString(fullname);
 
   /* if image has a local colormap, override global colormap
    */