Image::Image |
( |
const std::string & |
filename | ) |
|
|
inline |
Load an image from a given png source
int Image::get_height |
( |
| ) |
|
|
inline |
int Image::get_transcolor |
( |
| ) |
|
|
inline |
int Image::num_colors |
( |
| ) |
|
|
inline |
void Image::set_color |
( |
int |
i, |
|
|
Color |
c |
|
) |
| |
|
inline |
void Image::swap_colors |
( |
int |
a, |
|
|
int |
b |
|
) |
| |
|
inline |
swaps color a and color b in both the palette and the image
void Image::write_png |
( |
std::string |
filename | ) |
|
|
inline |
insert palette converter here
The documentation for this class was generated from the following file:
(C) Copyright 1998-2012 by The