Commit Graph

5 Commits

Author SHA1 Message Date
espie
2029e02f9b FAKE=lib 2005-04-23 15:55:52 +00:00
espie
f28f2a833d switch to new plist, killing a few install scripts along the way. 2004-09-14 23:43:54 +00:00
margarida
739224393c Update to version 1.2.3
Some minor tweaks.
From MAINTAINER.
2003-04-03 23:40:05 +00:00
obecian
ce347fdfc4 do not attempt to @dirrm include/SDL on supplementary libs
caught by pvalchev@, espie@ ok
2001-05-17 22:16:11 +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