MCPcopy Create free account
hub / github.com/DFHack/dfhack / lodepng_encoder_settings_init

Function lodepng_encoder_settings_init

depends/lodepng/lodepng.cpp:6118–6129  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

6116#endif /*LODEPNG_COMPILE_DISK*/
6117
6118void lodepng_encoder_settings_init(LodePNGEncoderSettings* settings) {
6119 lodepng_compress_settings_init(&settings->zlibsettings);
6120 settings->filter_palette_zero = 1;
6121 settings->filter_strategy = LFS_MINSUM;
6122 settings->auto_convert = 1;
6123 settings->force_palette = 0;
6124 settings->predefined_filters = 0;
6125#ifdef LODEPNG_COMPILE_ANCILLARY_CHUNKS
6126 settings->add_id = 0;
6127 settings->text_compression = 1;
6128#endif /*LODEPNG_COMPILE_ANCILLARY_CHUNKS*/
6129}
6130
6131#endif /*LODEPNG_COMPILE_ENCODER*/
6132#endif /*LODEPNG_COMPILE_PNG*/

Callers 1

lodepng_state_initFunction · 0.85

Calls 1

Tested by

no test coverage detected