MCPcopy Create free account
hub / github.com/OpenXcom/OpenXcom / lodepng_encoder_settings_init

Function lodepng_encoder_settings_init

src/lodepng.cpp:5904–5916  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

5902#endif /*LODEPNG_COMPILE_DISK*/
5903
5904void lodepng_encoder_settings_init(LodePNGEncoderSettings* settings)
5905{
5906 lodepng_compress_settings_init(&settings->zlibsettings);
5907 settings->filter_palette_zero = 1;
5908 settings->filter_strategy = LFS_MINSUM;
5909 settings->auto_convert = LAC_AUTO;
5910 settings->force_palette = 0;
5911 settings->predefined_filters = 0;
5912#ifdef LODEPNG_COMPILE_ANCILLARY_CHUNKS
5913 settings->add_id = 0;
5914 settings->text_compression = 1;
5915#endif /*LODEPNG_COMPILE_ANCILLARY_CHUNKS*/
5916}
5917
5918#endif /*LODEPNG_COMPILE_ENCODER*/
5919#endif /*LODEPNG_COMPILE_PNG*/

Callers 1

lodepng_state_initFunction · 0.85

Calls 1

Tested by

no test coverage detected