_________ __ __
/ _____// |_____________ _/ |______ ____ __ __ ______
\_____ \\ __\_ __ \__ \\ __\__ \ / ___\| | \/ ___/
/ \| | | | \// __ \| | / __ \_/ /_/ > | /\___ \
/_______ /|__| |__| (____ /__| (____ /\___ /|____//____ >
\/ \/ \//_____/ \/
______________________ ______________________
T H E W A R B E G I N S
Stratagus - A free fantasy real time strategy game engine
Public Member Functions | |
| Image (const std::string &filename) | |
| ~Image () | |
| void | write_png (std::string filename) |
| void | swap_colors (int a, int b) |
| void | set_color (int i, Color c) |
| int | get_transcolor () |
| int | num_colors () |
| int | get_width () |
| int | get_height () |
|
inline |
Load an image from a given png source
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
swaps color a and color b in both the palette and the image
|
inline |
insert palette converter here
1.8.9.1
(C) Copyright 1998-2012 by The Stratagus Project under the GNU General Public License.