Parameters of the writing algorithm. More...
#include <png.hpp>
Public Types | |
enum | compression_level { no_compression = Z_NO_COMPRESSION, best_speed = Z_BEST_SPEED, best_compression = Z_BEST_COMPRESSION, default_compression = Z_DEFAULT_COMPRESSION } |
Compression level in the interlaced image. More... | |
enum | interlace_type { none = PNG_INTERLACE_NONE, adam7 = PNG_INTERLACE_ADAM7 } |
The algorithm to use to interlace the saved image. More... | |
Public Member Functions | |
options () | |
Default constructor. | |
options (compression_level compression_level_, interlace_type interlace_) | |
Constructor. | |
Public Attributes | |
compression_level | compression |
Compression level to use in the saved stream. | |
interlace_type | interlace |
Interlace method to apply to the saved image. |
Parameters of the writing algorithm.
Definition at line 119 of file png.hpp.
Compression level in the interlaced image.
Definition at line 123 of file png.hpp.
00124 { 00125 no_compression = Z_NO_COMPRESSION, 00126 best_speed = Z_BEST_SPEED, 00127 best_compression = Z_BEST_COMPRESSION, 00128 default_compression = Z_DEFAULT_COMPRESSION 00129 }; // enum compression_level
claw::graphic::png::writer::options::options | ( | ) |
Default constructor.
Definition at line 106 of file png_writer.cpp.
00107 : compression(default_compression), interlace(none) 00108 { 00109 00110 } // png::writer::options::options()
claw::graphic::png::writer::options::options | ( | compression_level | compression_level_, | |
interlace_type | interlace_ | |||
) |
Constructor.
compression_level_ | Compression level to use in the saved stream. | |
interlace_ | Interlace method to apply to the saved image. |
Definition at line 119 of file png_writer.cpp.
00120 : compression(compression_level_), interlace(interlace_) 00121 { 00122 00123 } // png::writer::options::options()
Compression level to use in the saved stream.
Definition at line 149 of file png.hpp.
Referenced by claw::graphic::png::writer::set_options().
Interlace method to apply to the saved image.
Definition at line 152 of file png.hpp.
Referenced by claw::graphic::png::writer::set_options().