php man page for select_palette

Query: select_palette

OS: php

Section: 3alleg4

Format: Original Unix Latex Style Formatted with HTML and a Horizontal Scroll Bar

select_palette(3alleg4) 					  Allegro manual					   select_palette(3alleg4)

NAME
select_palette - Sets the internal palette for color conversion. Allegro game programming library.
SYNOPSIS
#include <allegro.h> void select_palette(const PALETTE p);
DESCRIPTION
Ugly hack for use in various dodgy situations where you need to convert between paletted and truecolor image formats. Sets the internal palette table in the same way as the set_palette() function, so the conversion will use the specified palette, but without affecting the display hardware in any way. The previous palette settings are stored in an internal buffer, and can be restored by calling unselect_pal- ette(). If you call select_palette() again, however, the internal buffer will be overwritten.
SEE ALSO
set_palette(3alleg4), unselect_palette(3alleg4), exlights(3alleg4) Allegro version 4.4.2 select_palette(3alleg4)
Related Man Pages
exscale(3alleg4) - centos
expal(3alleg4) - php
expal(3alleg4) - plan9
expal(3alleg4) - v7
expal(3alleg4) - freebsd
Similar Topics in the Unix Linux Community
Simple rules of the UNIX.COM forums:
Coming Soon: Upgrade Forum Software (Dec 31 - Jan 1)
The Order of the Wizard's Hat - Lifetime Achievement Award 2019 - Congrats to Don Cragun
Please Welcome Nicki Paul to the Moderator Team!