MCPcopy Create free account
hub / github.com/creatale/node-dv / lodepng_encoder_settings_init

Function lodepng_encoder_settings_init

deps/lodepng/lodepng.cpp:5951–5963  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

5949#endif /*LODEPNG_COMPILE_DISK*/
5950
5951void lodepng_encoder_settings_init(LodePNGEncoderSettings* settings)
5952{
5953 lodepng_compress_settings_init(&settings->zlibsettings);
5954 settings->filter_palette_zero = 1;
5955 settings->filter_strategy = LFS_MINSUM;
5956 settings->auto_convert = 1;
5957 settings->force_palette = 0;
5958 settings->predefined_filters = 0;
5959#ifdef LODEPNG_COMPILE_ANCILLARY_CHUNKS
5960 settings->add_id = 0;
5961 settings->text_compression = 1;
5962#endif /*LODEPNG_COMPILE_ANCILLARY_CHUNKS*/
5963}
5964
5965#endif /*LODEPNG_COMPILE_ENCODER*/
5966#endif /*LODEPNG_COMPILE_PNG*/

Callers 1

lodepng_state_initFunction · 0.85

Calls 1

Tested by

no test coverage detected