devel/sdl2-image v2.8.4

# pkg_add sdl2-image
SDL2 image library

=> CVS Web | Port Homepage (WWW)

Maintainer: Thomas Frohwein

Description

This is a simple library to load images of various formats as SDL2
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.
Proxy Information
Original URL
gemini://gemini.omarpolo.com/cgi/gempkg/devel/sdl2-image
Status Code
Success (20)
Meta
text/gemini;lang=en
Capsule Response Time
460.214369 milliseconds
Gemini-to-HTML Time
0.377337 milliseconds

This content has been proxied by September (ba2dc).