/**********************************************************************
 
	Copyright (C) 2003 Hirohisa MORI <joshua@nichibun.ac.jp>
 
	This program is free software; you can redistribute it 
	and/or modify it under the terms of the GLOBALBASE 
	Library General Public License (G-LGPL) as published by 

	http://www.globalbase.org/
 
	This program is distributed in the hope that it will be 
	useful, but WITHOUT ANY WARRANTY; without even the 
	implied warranty of MERCHANTABILITY or FITNESS FOR A 
	PARTICULAR PURPOSE.

**********************************************************************/

#ifndef _GIF_H
#define _GIF_H
#include "gif_rgb.h"

unsigned int *gif_uncompress(int *ret_width, /* image width [return] */
		int *ret_height, /* image height[return] */
		 GIF_ENV * ge,   /* color table [return] */
		 unsigned char *data, /* gif file buffer */
		 int length);    /* buffer length */

unsigned char * gif_compress(
	int * ret_length /* image width [return] */,
	GIF_ENV * ret_ge /* color table [return] */,
	GIF_ENV * ge,    /* unused*/
	unsigned int * data, /* 32bit bmp raw data */
	int width,       /* image width  */
	int height);     /* image height */

#endif
