1994-09-23 20:00:00 -04:00
|
|
|
/*
|
|
|
|
* rdgif.c
|
|
|
|
*
|
1998-03-26 19:00:00 -05:00
|
|
|
* Copyright (C) 1991-1997, Thomas G. Lane.
|
1994-09-23 20:00:00 -04:00
|
|
|
* This file is part of the Independent JPEG Group's software.
|
|
|
|
* For conditions of distribution and use, see the accompanying README file.
|
|
|
|
*
|
|
|
|
* This file contains routines to read input images in GIF format.
|
|
|
|
*
|
1998-03-26 19:00:00 -05:00
|
|
|
*****************************************************************************
|
|
|
|
* NOTE: to avoid entanglements with Unisys' patent on LZW compression, *
|
|
|
|
* the ability to read GIF files has been removed from the IJG distribution. *
|
|
|
|
* Sorry about that. *
|
|
|
|
*****************************************************************************
|
1994-09-23 20:00:00 -04:00
|
|
|
*
|
1998-03-26 19:00:00 -05:00
|
|
|
* We are required to state that
|
1994-09-23 20:00:00 -04:00
|
|
|
* "The Graphics Interchange Format(c) is the Copyright property of
|
|
|
|
* CompuServe Incorporated. GIF(sm) is a Service Mark property of
|
|
|
|
* CompuServe Incorporated."
|
|
|
|
*/
|
|
|
|
|
|
|
|
#include "cdjpeg.h" /* Common decls for cjpeg/djpeg applications */
|
|
|
|
|
|
|
|
#ifdef GIF_SUPPORTED
|
|
|
|
|
|
|
|
/*
|
|
|
|
* The module selection routine for GIF format input.
|
|
|
|
*/
|
|
|
|
|
1996-02-06 19:00:00 -05:00
|
|
|
GLOBAL(cjpeg_source_ptr)
|
1994-09-23 20:00:00 -04:00
|
|
|
jinit_read_gif (j_compress_ptr cinfo)
|
|
|
|
{
|
1998-03-26 19:00:00 -05:00
|
|
|
fprintf(stderr, "GIF input is unsupported for legal reasons. Sorry.\n");
|
|
|
|
exit(EXIT_FAILURE);
|
|
|
|
return NULL; /* keep compiler happy */
|
1994-09-23 20:00:00 -04:00
|
|
|
}
|
|
|
|
|
|
|
|
#endif /* GIF_SUPPORTED */
|