load_tga(3alleg4) netbsd man page | unix.com

Man Page: load_tga

Operating Environment: netbsd

Section: 3alleg4

load_tga(3alleg4)						  Allegro manual						 load_tga(3alleg4)

NAME
load_tga - Loads a TGA bitmap from a file. Allegro game programming library.
SYNOPSIS
#include <allegro.h> BITMAP *load_tga(const char *filename, RGB *pal);
DESCRIPTION
Loads a 256-color, 15-bit hicolor, 24-bit truecolor, or 32-bit truecolor+alpha TGA file.
RETURN VALUE
Returns a pointer to the bitmap or NULL on error. Remember that you are responsible for destroying the bitmap when you are finished with it to avoid memory leaks.
SEE ALSO
load_bitmap(3alleg4) Allegro version 4.4.2 load_tga(3alleg4)
Related Man Pages
load_bitmap(3alleg4) - opendarwin
load_bitmap(3alleg4) - netbsd
load_bitmap(3alleg4) - linux
load_bitmap(3alleg4) - osx
load_bitmap(3alleg4) - freebsd
Similar Topics in the Unix Linux Community
Unix File Permissions
How to install PGX32 on Sparc 10 Ultra?
Better to Use Return Code or wc -l Output?
BSD Unix Toolbox: 1000+ Commands for FreeBSD, OpenBSD, and NetBSD
Grep command to show the number of results