Holds information about PNG image.
More...
#include <image_info.hpp>
Holds information about PNG image.
- See also
- image, generator, consumer
◆ image_info()
png::image_info::image_info |
( |
| ) |
|
|
inline |
Constructs the image_info object with default values for color_type, interlace_type, compression_method and filter_type.
References png::color_type_none, png::compression_type_default, png::filter_type_default, png::interlace_none, m_bit_depth, m_color_type, m_compression_type, m_filter_type, m_gamma, m_height, m_interlace_type, and m_width.
◆ get_width()
uint_32 png::image_info::get_width |
( |
| ) |
const |
|
inline |
◆ set_width()
void png::image_info::set_width |
( |
uint_32 | width | ) |
|
|
inline |
◆ get_height()
uint_32 png::image_info::get_height |
( |
| ) |
const |
|
inline |
◆ set_height()
void png::image_info::set_height |
( |
uint_32 | height | ) |
|
|
inline |
◆ get_color_type()
color_type png::image_info::get_color_type |
( |
| ) |
const |
|
inline |
◆ set_color_type()
void png::image_info::set_color_type |
( |
color_type | color_space | ) |
|
|
inline |
◆ get_bit_depth()
int png::image_info::get_bit_depth |
( |
| ) |
const |
|
inline |
◆ set_bit_depth()
void png::image_info::set_bit_depth |
( |
int | bit_depth | ) |
|
|
inline |
◆ get_interlace_type()
◆ set_interlace_type()
◆ get_compression_type()
◆ set_compression_type()
◆ get_filter_type()
◆ set_filter_type()
void png::image_info::set_filter_type |
( |
filter_type | filter | ) |
|
|
inline |
◆ get_palette() [1/2]
palette const & png::image_info::get_palette |
( |
| ) |
const |
|
inline |
◆ get_palette() [2/2]
palette & png::image_info::get_palette |
( |
| ) |
|
|
inline |
◆ set_palette()
void png::image_info::set_palette |
( |
palette const & | plte | ) |
|
|
inline |
◆ drop_palette()
void png::image_info::drop_palette |
( |
| ) |
|
|
inline |
◆ get_tRNS() [1/2]
tRNS const & png::image_info::get_tRNS |
( |
| ) |
const |
|
inline |
◆ get_tRNS() [2/2]
tRNS & png::image_info::get_tRNS |
( |
| ) |
|
|
inline |
◆ set_tRNS()
void png::image_info::set_tRNS |
( |
tRNS const & | trns | ) |
|
|
inline |
◆ get_gamma()
double png::image_info::get_gamma |
( |
| ) |
const |
|
inline |
◆ set_gamma()
void png::image_info::set_gamma |
( |
double | gamma | ) |
|
|
inline |
◆ m_width
◆ m_height
◆ m_bit_depth
int png::image_info::m_bit_depth |
|
protected |
◆ m_color_type
◆ m_interlace_type
◆ m_compression_type
◆ m_filter_type
◆ m_palette
◆ m_tRNS
tRNS png::image_info::m_tRNS |
|
protected |
◆ m_gamma
double png::image_info::m_gamma |
|
protected |
The documentation for this class was generated from the following file: