Home | History | Annotate | Download | only in lodepng

Lines Matching refs:info_raw

4744   if(!state->decoder.color_convert || lodepng_color_mode_equal(&state->info_raw, &state->info_png.color))
4747 /*store the info_png color settings on the info_raw so that the info_raw still reflects what colortype
4751 state->error = lodepng_color_mode_copy(&state->info_raw, &state->info_png.color);
4763 if(!(state->info_raw.colortype == LCT_RGB || state->info_raw.colortype == LCT_RGBA)
4764 && !(state->info_raw.bitdepth == 8))
4769 outsize = lodepng_get_raw_size(*w, *h, &state->info_raw);
4775 else state->error = lodepng_convert(*out, data, &state->info_raw, &state->info_png.color, *w, *h, state->decoder.fix_png);
4787 state.info_raw.colortype = colortype;
4788 state.info_raw.bitdepth = bitdepth;
4852 lodepng_color_mode_init(&state->info_raw);
4859 lodepng_color_mode_cleanup(&state->info_raw);
4867 lodepng_color_mode_init(&dest->info_raw);
4869 dest->error = lodepng_color_mode_copy(&dest->info_raw, &source->info_raw); if(dest->error) return;
5687 state->error = lodepng_auto_choose_color(&info.color, image, w, h, &state->info_raw,
5703 state->error = checkColorValidity(state->info_raw.colortype, state->info_raw.bitdepth);
5706 if(!lodepng_color_mode_equal(&state->info_raw, &info.color))
5715 state->error = lodepng_convert(converted, image, &info.color, &state->info_raw, w, h, 0 /*fix_png*/);
5861 state.info_raw.colortype = colortype;
5862 state.info_raw.bitdepth = bitdepth;
6144 state.info_raw.colortype = colortype;
6145 state.info_raw.bitdepth = bitdepth;
6146 size_t buffersize = lodepng_get_raw_size(w, h, &state.info_raw);
6167 size_t buffersize = lodepng_get_raw_size(w, h, &state.info_raw);
6234 if(lodepng_get_raw_size(w, h, &state.info_raw) > in.size()) return 84;