31 #include "../Image/pixel_buffer.h"
32 #include "../../Core/System/databuffer.h"
36 class PNGOutputDescription_Impl;
97 void set_colors(
const std::vector<Color> &palette_colors);
102 std::vector<Color> colors;
143 std::shared_ptr<PNGOutputDescription_Impl> impl;
Definition: png_output_description.h:42
Definition: png_output_description.h:66
void set_filter_method(PNGFilterMethod filter)
2D (width,height) size structure - Double
Definition: size.h:193
Definition: png_output_description.h:60
Definition: png_output_description.h:41
Definition: png_output_description.h:45
Definition: png_output_description.h:80
Definition: png_output_description.h:44
void set_chromacities(const Vec2f &white, const Vec2f &red, const Vec2f &green, const Vec2f &blue)
void add_comment(const std::string &comment, std::string &keyword, const std::string &lang, const std::string &translated_keyword)
void set_key_color(const Color &color)
Set PNG output options. Used with PNGFormat::save().
Definition: png_output_description.h:108
void add_unknown_chunk(const std::string &name, const DataBufferPtr &chunk_data, PNGUnknownChunkLocation location)
void set_physical_resolution(const Vec2i &resolution, PNGResolutionUnitType resolution_type)
Definition: png_output_description.h:47
void set_srgb_intent(PNGsRGBIntent intent)
Color description class.
Definition: color.h:42
PNGOutputDescriptionPalette()
void set_physical_scale(int scale_units, const Sized &pixel_size_in_scale_units)
Definition: png_output_description.h:59
Definition: png_output_description.h:48
PNGInterlaceType
Definition: png_output_description.h:51
Definition: png_output_description.h:73
Definition: png_output_description.h:68
PNGUnknownChunkLocation
Definition: png_output_description.h:71
Definition: png_output_description.h:46
PNGsRGBIntent
Definition: png_output_description.h:63
void set_icc_profile(const std::string &profile_name, const DataBufferPtr &profile_data)
void set_significant_bits(int num_bits)
Definition: png_output_description.h:91
Definition: png_output_description.h:86
void add_palette(const PNGOutputDescriptionPalette &palette)
Definition: png_output_description.h:53
void set_colors(const std::vector< Color > &palette_colors)
void set_modification_time(const DateTime &datetime)
PNGOffsetUnitType
Definition: png_output_description.h:78
void set_chromacities_XYZ(const Vec3f &red, const Vec3f &green, const Vec3f &blue)
Definition: png_output_description.h:74
void set_background_color(const Color &background_color)
Definition: png_output_description.h:87
void set_interlace_type(PNGInterlaceType type)
void set_offset_from_screen_topleft(const Vec2i &offset, PNGOffsetUnitType offset_unit_type)
Definition: png_output_description.h:65
PNGColorType
Definition: png_output_description.h:39
Definition: png_output_description.h:54
Definition: png_output_description.h:43
std::shared_ptr< DataBuffer > DataBufferPtr
Definition: databuffer.h:66
PNGOutputDescription(int bit_depth=8, PNGColorType color_type=png_color_type_rgb_alpha)
Create output description.
PNGResolutionUnitType
Definition: png_output_description.h:84
void set_tranparent_color_indexes(const std::vector< int > &alpha_indexes)
void set_key_color(const Color &color)
Definition: png_output_description.h:75
Definition: Application/application.h:35
Definition: png_output_description.h:81
void set_gamma(float gamma)
Date/Time class.
Definition: datetime.h:38
PNGFilterMethod
Definition: png_output_description.h:57
Definition: png_output_description.h:67