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

Man Page: load_tga

Operating Environment: php

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) - centos
load_bitmap(3alleg4) - suse
save_bitmap(3alleg4) - centos
load_bitmap(3alleg4) - mojave
load_bitmap(3alleg4) - linux
Similar Topics in the Unix Linux Community
UNIX.COM 2017 Year End Summary
Please Welcome Don Cragun as Lead Moderator
Please Welcome Ravinder Singh to the Moderation Team
The Order of the Wizard's Hat - Lifetime Achievement Award 2019 - Congrats to Don Cragun