Commit Graph

7 Commits

Author SHA1 Message Date
jolan
64fde83848 update to 1.2.4 2005-07-03 21:35:57 +00:00
margarida
739224393c Update to version 1.2.3
Some minor tweaks.
From MAINTAINER.
2003-04-03 23:40:05 +00:00
mark
683105b9b8 + # GPL
+ update-patches
+ chop NEED_VERSION
2002-09-03 06:19:18 +00:00
mark
53d481616f sdl-image-1.2.2 update 2002-06-23 07:55:59 +00:00
obecian
b182a982ef sdl-image-1.2.1 update 2001-12-23 05:07:55 +00:00
obecian
1eb31d0368 use ports in-tree libtool patches 2001-10-05 17:35:26 +00:00
obecian
ba288d1d99 sdl-image-1.2.0 import
This is a simple library to load images of various formats as SDL
surfaces.  This library supports BMP, PPM, PCX, GIF, JPEG, PNG, TGA,
and TIFF formats.

API:
#include "SDL_image.h"

        SDL_Surface *IMG_Load(const char *file);
or
        SDL_Surface *IMG_Load_RW(SDL_RWops *src, int freesrc);
or
        SDL_Surface *IMG_Load_RW(SDL_RWops *src, int freesrc, char
*type);

where type is a string specifying the format (i.e. "PNG" or "pcx").
Note that IMG_Load_RW cannot load TGA images.

An example program 'showimage' is included, with source in showimage.c
2001-05-07 04:08:40 +00:00