Commit Graph

8 Commits

Author SHA1 Message Date
pvalchev
6eab2aab98 change SDL dependency entries to simply match latest in-tree version, any flavor 2001-12-28 22:21:29 +00:00
mark
ce7c609bd9 update maintainer address 2001-12-24 07:51:05 +00:00
obecian
b182a982ef sdl-image-1.2.1 update 2001-12-23 05:07:55 +00:00
obecian
7ab076a175 trailing patch-* (thanks wilfred) 2001-10-05 19:29:37 +00:00
obecian
1eb31d0368 use ports in-tree libtool patches 2001-10-05 17:35:26 +00:00
kevlo
5383140a88 Bump major rev in png dependeny entries after upgrade of png:
png.1 -> png.2
--
Ok'd by: brad@
2001-05-24 02:27:06 +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