*** empty log message ***
authorSam Lantinga <slouken@libsdl.org>
Fri, 14 Dec 2001 13:02:16 +0000
changeset 5396b084473b47
parent 52 bdc316d7a38a
child 54 a6a22473e6d2
*** empty log message ***
IMG.c
IMG_bmp.c
IMG_gif.c
IMG_jpg.c
IMG_lbm.c
IMG_pcx.c
IMG_png.c
IMG_pnm.c
IMG_tga.c
IMG_tif.c
IMG_xcf.c
IMG_xpm.c
IMG_xxx.c
SDL_image.h
showimage.c
     1.1 --- a/IMG.c	Fri Dec 14 12:48:43 2001 +0000
     1.2 +++ b/IMG.c	Fri Dec 14 13:02:16 2001 +0000
     1.3 @@ -1,6 +1,6 @@
     1.4  /*
     1.5 -    IMGLIB:  An example image loading library for use with SDL
     1.6 -    Copyright (C) 1999  Sam Lantinga
     1.7 +    SDL_image:  An example image loading library for use with SDL
     1.8 +    Copyright (C) 1999, 2000, 2001  Sam Lantinga
     1.9  
    1.10      This library is free software; you can redistribute it and/or
    1.11      modify it under the terms of the GNU Library General Public
    1.12 @@ -17,11 +17,11 @@
    1.13      Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307  USA
    1.14  
    1.15      Sam Lantinga
    1.16 -    5635-34 Springhouse Dr.
    1.17 -    Pleasanton, CA 94588 (USA)
    1.18 -    slouken@devolution.com
    1.19 +    slouken@libsdl.org
    1.20  */
    1.21  
    1.22 +/* $Id$ */
    1.23 +
    1.24  /* A simple library to load images of various formats as SDL surfaces */
    1.25  
    1.26  #include <stdio.h>
     2.1 --- a/IMG_bmp.c	Fri Dec 14 12:48:43 2001 +0000
     2.2 +++ b/IMG_bmp.c	Fri Dec 14 13:02:16 2001 +0000
     2.3 @@ -1,6 +1,6 @@
     2.4  /*
     2.5 -    IMGLIB:  An example image loading library for use with SDL
     2.6 -    Copyright (C) 1999  Sam Lantinga
     2.7 +    SDL_image:  An example image loading library for use with SDL
     2.8 +    Copyright (C) 1999, 2000, 2001  Sam Lantinga
     2.9  
    2.10      This library is free software; you can redistribute it and/or
    2.11      modify it under the terms of the GNU Library General Public
    2.12 @@ -17,11 +17,11 @@
    2.13      Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307  USA
    2.14  
    2.15      Sam Lantinga
    2.16 -    5635-34 Springhouse Dr.
    2.17 -    Pleasanton, CA 94588 (USA)
    2.18 -    slouken@devolution.com
    2.19 +    slouken@libsdl.org
    2.20  */
    2.21  
    2.22 +/* $Id$ */
    2.23 +
    2.24  /* This is a BMP image file loading framework */
    2.25  
    2.26  #include <stdio.h>
     3.1 --- a/IMG_gif.c	Fri Dec 14 12:48:43 2001 +0000
     3.2 +++ b/IMG_gif.c	Fri Dec 14 13:02:16 2001 +0000
     3.3 @@ -1,6 +1,6 @@
     3.4  /*
     3.5 -    IMGLIB:  An example image loading library for use with SDL
     3.6 -    Copyright (C) 1999  Sam Lantinga
     3.7 +    SDL_image:  An example image loading library for use with SDL
     3.8 +    Copyright (C) 1999, 2000, 2001  Sam Lantinga
     3.9  
    3.10      This library is free software; you can redistribute it and/or
    3.11      modify it under the terms of the GNU Library General Public
    3.12 @@ -17,11 +17,11 @@
    3.13      Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307  USA
    3.14  
    3.15      Sam Lantinga
    3.16 -    5635-34 Springhouse Dr.
    3.17 -    Pleasanton, CA 94588 (USA)
    3.18 -    slouken@devolution.com
    3.19 +    slouken@libsdl.org
    3.20  */
    3.21  
    3.22 +/* $Id$ */
    3.23 +
    3.24  /* This is a GIF image file loading framework */
    3.25  
    3.26  #include <stdio.h>
     4.1 --- a/IMG_jpg.c	Fri Dec 14 12:48:43 2001 +0000
     4.2 +++ b/IMG_jpg.c	Fri Dec 14 13:02:16 2001 +0000
     4.3 @@ -1,6 +1,6 @@
     4.4  /*
     4.5 -    IMGLIB:  An example image loading library for use with SDL
     4.6 -    Copyright (C) 1999  Sam Lantinga
     4.7 +    SDL_image:  An example image loading library for use with SDL
     4.8 +    Copyright (C) 1999, 2000, 2001  Sam Lantinga
     4.9  
    4.10      This library is free software; you can redistribute it and/or
    4.11      modify it under the terms of the GNU Library General Public
    4.12 @@ -17,11 +17,11 @@
    4.13      Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307  USA
    4.14  
    4.15      Sam Lantinga
    4.16 -    5635-34 Springhouse Dr.
    4.17 -    Pleasanton, CA 94588 (USA)
    4.18 -    slouken@devolution.com
    4.19 +    slouken@libsdl.org
    4.20  */
    4.21  
    4.22 +/* $Id$ */
    4.23 +
    4.24  /* This is a JPEG image file loading framework */
    4.25  
    4.26  #include <stdio.h>
     5.1 --- a/IMG_lbm.c	Fri Dec 14 12:48:43 2001 +0000
     5.2 +++ b/IMG_lbm.c	Fri Dec 14 13:02:16 2001 +0000
     5.3 @@ -1,6 +1,6 @@
     5.4  /*
     5.5 -    IMGLIB:  An example image loading library for use with SDL
     5.6 -    Copyright (C) 1999  Sam Lantinga
     5.7 +    SDL_image:  An example image loading library for use with SDL
     5.8 +    Copyright (C) 1999, 2000, 2001  Sam Lantinga
     5.9  
    5.10      This library is free software; you can redistribute it and/or
    5.11      modify it under the terms of the GNU Library General Public
    5.12 @@ -17,10 +17,10 @@
    5.13      Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307  USA
    5.14  
    5.15      Sam Lantinga
    5.16 -    5635-34 Springhouse Dr.
    5.17 -    Pleasanton, CA 94588 (USA)
    5.18 -    slouken@devolution.com
    5.19 +    slouken@libsdl.org
    5.20  */
    5.21 +
    5.22 +/* $Id$ */
    5.23   
    5.24  /* This is a ILBM image file loading framework
    5.25     Load IFF pictures, PBM & ILBM packing methods, with or without stencil
     6.1 --- a/IMG_pcx.c	Fri Dec 14 12:48:43 2001 +0000
     6.2 +++ b/IMG_pcx.c	Fri Dec 14 13:02:16 2001 +0000
     6.3 @@ -1,6 +1,6 @@
     6.4  /*
     6.5 -    IMGLIB:  An example image loading library for use with SDL
     6.6 -    Copyright (C) 1999  Sam Lantinga
     6.7 +    SDL_image:  An example image loading library for use with SDL
     6.8 +    Copyright (C) 1999, 2000, 2001  Sam Lantinga
     6.9  
    6.10      This library is free software; you can redistribute it and/or
    6.11      modify it under the terms of the GNU Library General Public
    6.12 @@ -17,11 +17,11 @@
    6.13      Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307  USA
    6.14  
    6.15      Sam Lantinga
    6.16 -    5635-34 Springhouse Dr.
    6.17 -    Pleasanton, CA 94588 (USA)
    6.18 -    slouken@devolution.com
    6.19 +    slouken@libsdl.org
    6.20  */
    6.21  
    6.22 +/* $Id$ */
    6.23 +
    6.24  /*
    6.25   * PCX file reader:
    6.26   * Supports:
     7.1 --- a/IMG_png.c	Fri Dec 14 12:48:43 2001 +0000
     7.2 +++ b/IMG_png.c	Fri Dec 14 13:02:16 2001 +0000
     7.3 @@ -1,6 +1,6 @@
     7.4  /*
     7.5 -    IMGLIB:  An example image loading library for use with SDL
     7.6 -    Copyright (C) 1999  Sam Lantinga
     7.7 +    SDL_image:  An example image loading library for use with SDL
     7.8 +    Copyright (C) 1999, 2000, 2001  Sam Lantinga
     7.9  
    7.10      This library is free software; you can redistribute it and/or
    7.11      modify it under the terms of the GNU Library General Public
    7.12 @@ -17,11 +17,11 @@
    7.13      Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307  USA
    7.14  
    7.15      Sam Lantinga
    7.16 -    5635-34 Springhouse Dr.
    7.17 -    Pleasanton, CA 94588 (USA)
    7.18 -    slouken@devolution.com
    7.19 +    slouken@libsdl.org
    7.20  */
    7.21  
    7.22 +/* $Id$ */
    7.23 +
    7.24  /* This is a PNG image file loading framework */
    7.25  
    7.26  #include <stdlib.h>
     8.1 --- a/IMG_pnm.c	Fri Dec 14 12:48:43 2001 +0000
     8.2 +++ b/IMG_pnm.c	Fri Dec 14 13:02:16 2001 +0000
     8.3 @@ -1,6 +1,6 @@
     8.4  /*
     8.5 -    IMGLIB:  An example image loading library for use with SDL
     8.6 -    Copyright (C) 1999  Sam Lantinga
     8.7 +    SDL_image:  An example image loading library for use with SDL
     8.8 +    Copyright (C) 1999, 2000, 2001  Sam Lantinga
     8.9  
    8.10      This library is free software; you can redistribute it and/or
    8.11      modify it under the terms of the GNU Library General Public
    8.12 @@ -17,11 +17,11 @@
    8.13      Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307  USA
    8.14  
    8.15      Sam Lantinga
    8.16 -    5635-34 Springhouse Dr.
    8.17 -    Pleasanton, CA 94588 (USA)
    8.18 -    slouken@devolution.com
    8.19 +    slouken@libsdl.org
    8.20  */
    8.21  
    8.22 +/* $Id$ */
    8.23 +
    8.24  /*
    8.25   * PNM (portable anymap) image loader:
    8.26   *
     9.1 --- a/IMG_tga.c	Fri Dec 14 12:48:43 2001 +0000
     9.2 +++ b/IMG_tga.c	Fri Dec 14 13:02:16 2001 +0000
     9.3 @@ -1,6 +1,6 @@
     9.4  /*
     9.5 -    IMGLIB:  An example image loading library for use with SDL
     9.6 -    Copyright (C) 1999  Sam Lantinga
     9.7 +    SDL_image:  An example image loading library for use with SDL
     9.8 +    Copyright (C) 1999, 2000, 2001  Sam Lantinga
     9.9  
    9.10      This library is free software; you can redistribute it and/or
    9.11      modify it under the terms of the GNU Library General Public
    9.12 @@ -17,11 +17,11 @@
    9.13      Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307  USA
    9.14  
    9.15      Sam Lantinga
    9.16 -    5635-34 Springhouse Dr.
    9.17 -    Pleasanton, CA 94588 (USA)
    9.18 -    slouken@devolution.com
    9.19 +    slouken@libsdl.org
    9.20  */
    9.21  
    9.22 +/* $Id$ */
    9.23 +
    9.24  #include <stdlib.h>
    9.25  #include <stdio.h>
    9.26  #include <string.h>
    10.1 --- a/IMG_tif.c	Fri Dec 14 12:48:43 2001 +0000
    10.2 +++ b/IMG_tif.c	Fri Dec 14 13:02:16 2001 +0000
    10.3 @@ -1,6 +1,6 @@
    10.4  /*
    10.5 -    IMGLIB:  An example image loading library for use with SDL
    10.6 -    Copyright (C) 1999  Sam Lantinga
    10.7 +    SDL_image:  An example image loading library for use with SDL
    10.8 +    Copyright (C) 1999, 2000, 2001  Sam Lantinga
    10.9  
   10.10      This library is free software; you can redistribute it and/or
   10.11      modify it under the terms of the GNU Library General Public
   10.12 @@ -17,15 +17,10 @@
   10.13      Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307  USA
   10.14  
   10.15      Sam Lantinga
   10.16 -    5635-34 Springhouse Dr.
   10.17 -    Pleasanton, CA 94588 (USA)
   10.18 -    slouken@devolution.com
   10.19 +    slouken@libsdl.org
   10.20 +*/
   10.21  
   10.22 -    5/29/2000: TIFF loader written. Mark Baker (mbaker@0x7a69.net)
   10.23 -    2000-07-28: Fixed two off-by one bugs in reversal loop and made it work on
   10.24 -                big-endian machines (Mattias)
   10.25 -    2000-08-09: Removed alpha inversion (Mattias)
   10.26 -*/
   10.27 +/* $Id$ */
   10.28  
   10.29  
   10.30  
    11.1 --- a/IMG_xcf.c	Fri Dec 14 12:48:43 2001 +0000
    11.2 +++ b/IMG_xcf.c	Fri Dec 14 13:02:16 2001 +0000
    11.3 @@ -1,6 +1,6 @@
    11.4  /*
    11.5 -    IMGLIB:  An example image loading library for use with SDL
    11.6 -    Copyright (C) 1999  Sam Lantinga
    11.7 +    SDL_image:  An example image loading library for use with SDL
    11.8 +    Copyright (C) 1999, 2000, 2001  Sam Lantinga
    11.9  
   11.10      This library is free software; you can redistribute it and/or
   11.11      modify it under the terms of the GNU Library General Public
   11.12 @@ -17,12 +17,10 @@
   11.13      Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307  USA
   11.14  
   11.15      Sam Lantinga
   11.16 -    5635-34 Springhouse Dr.
   11.17 -    Pleasanton, CA 94588 (USA)
   11.18 -    slouken@devolution.com
   11.19 +    slouken@libsdl.org
   11.20 +*/
   11.21  
   11.22 -    XCF support by Bernhard J. Pietsch <bjtp@gmx.net>
   11.23 -*/
   11.24 +/* $Id$ */
   11.25  
   11.26  /* This is a XCF image file loading framework */
   11.27  
    12.1 --- a/IMG_xpm.c	Fri Dec 14 12:48:43 2001 +0000
    12.2 +++ b/IMG_xpm.c	Fri Dec 14 13:02:16 2001 +0000
    12.3 @@ -1,6 +1,6 @@
    12.4  /*
    12.5 -    IMGLIB:  An example image loading library for use with SDL
    12.6 -    Copyright (C) 1999  Sam Lantinga
    12.7 +    SDL_image:  An example image loading library for use with SDL
    12.8 +    Copyright (C) 1999, 2000, 2001  Sam Lantinga
    12.9  
   12.10      This library is free software; you can redistribute it and/or
   12.11      modify it under the terms of the GNU Library General Public
   12.12 @@ -17,11 +17,11 @@
   12.13      Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307  USA
   12.14  
   12.15      Sam Lantinga
   12.16 -    5635-34 Springhouse Dr.
   12.17 -    Pleasanton, CA 94588 (USA)
   12.18 -    slouken@devolution.com
   12.19 +    slouken@libsdl.org
   12.20  */
   12.21  
   12.22 +/* $Id$ */
   12.23 +
   12.24  /*
   12.25   * XPM (X PixMap) image loader:
   12.26   *
    13.1 --- a/IMG_xxx.c	Fri Dec 14 12:48:43 2001 +0000
    13.2 +++ b/IMG_xxx.c	Fri Dec 14 13:02:16 2001 +0000
    13.3 @@ -1,6 +1,6 @@
    13.4  /*
    13.5 -    IMGLIB:  An example image loading library for use with SDL
    13.6 -    Copyright (C) 1999  Sam Lantinga
    13.7 +    SDL_image:  An example image loading library for use with SDL
    13.8 +    Copyright (C) 1999, 2000, 2001  Sam Lantinga
    13.9  
   13.10      This library is free software; you can redistribute it and/or
   13.11      modify it under the terms of the GNU Library General Public
   13.12 @@ -17,11 +17,11 @@
   13.13      Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307  USA
   13.14  
   13.15      Sam Lantinga
   13.16 -    5635-34 Springhouse Dr.
   13.17 -    Pleasanton, CA 94588 (USA)
   13.18 -    slouken@devolution.com
   13.19 +    slouken@libsdl.org
   13.20  */
   13.21  
   13.22 +/* $Id$ */
   13.23 +
   13.24  /* This is a generic "format not supported" image framework */
   13.25  
   13.26  #include <stdio.h>
    14.1 --- a/SDL_image.h	Fri Dec 14 12:48:43 2001 +0000
    14.2 +++ b/SDL_image.h	Fri Dec 14 13:02:16 2001 +0000
    14.3 @@ -20,11 +20,7 @@
    14.4      slouken@libsdl.org
    14.5  */
    14.6  
    14.7 -#ifdef SAVE_RCSID
    14.8 -static char rcsid =
    14.9 - "@(#) $Id$";
   14.10 -#endif
   14.11 -
   14.12 +/* $Id$ */
   14.13  
   14.14  /* A simple library to load images of various formats as SDL surfaces */
   14.15  
    15.1 --- a/showimage.c	Fri Dec 14 12:48:43 2001 +0000
    15.2 +++ b/showimage.c	Fri Dec 14 13:02:16 2001 +0000
    15.3 @@ -1,27 +1,27 @@
    15.4  /*
    15.5 -    SHOW:  A test application for the SDL image loading library.
    15.6 -    Copyright (C) 1999  Sam Lantinga
    15.7 +    SDL_image:  An example image loading library for use with SDL
    15.8 +    Copyright (C) 1999, 2000, 2001  Sam Lantinga
    15.9  
   15.10 -    This program is free software; you can redistribute it and/or modify
   15.11 -    it under the terms of the GNU General Public License as published by
   15.12 -    the Free Software Foundation; either version 2 of the License, or
   15.13 -    (at your option) any later version.
   15.14 +    This library is free software; you can redistribute it and/or
   15.15 +    modify it under the terms of the GNU Library General Public
   15.16 +    License as published by the Free Software Foundation; either
   15.17 +    version 2 of the License, or (at your option) any later version.
   15.18  
   15.19 -    This program is distributed in the hope that it will be useful,
   15.20 +    This library is distributed in the hope that it will be useful,
   15.21      but WITHOUT ANY WARRANTY; without even the implied warranty of
   15.22 -    MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
   15.23 -    GNU General Public License for more details.
   15.24 +    MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
   15.25 +    Library General Public License for more details.
   15.26  
   15.27 -    You should have received a copy of the GNU General Public License
   15.28 -    along with this program; if not, write to the Free Software
   15.29 +    You should have received a copy of the GNU Library General Public
   15.30 +    License along with this library; if not, write to the Free
   15.31      Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307  USA
   15.32  
   15.33      Sam Lantinga
   15.34 -    5635-34 Springhouse Dr.
   15.35 -    Pleasanton, CA 94588 (USA)
   15.36 -    slouken@devolution.com
   15.37 +    slouken@libsdl.org
   15.38  */
   15.39  
   15.40 +/* $Id$ */
   15.41 +
   15.42  #include <stdlib.h>
   15.43  #include <stdio.h>
   15.44  #include <string.h>