Lines Matching refs:resultpng
288 std::vector<unsigned char> resultpng; in main() local
291 error = ZopfliPNGOptimize(origpng, png_options, true, &resultpng); in main()
299 error = lodepng::decode(image, w, h, inputstate, resultpng); in main()
308 size_t resultsize = resultpng.size(); in main()
331 total_out_size_zopfli += resultpng.size(); in main()
332 if (resultpng.size() < origsize) total_files_smaller++; in main()
333 else if (resultpng.size() == origsize) total_files_equal++; in main()
335 if (!always_zopflify && resultpng.size() > origsize) { in main()
337 resultpng = origpng; in main()
350 resultpng.size() >= origoutfilesize && !always_zopflify && use_prefix; in main()
357 printf(resultpng.size() == origoutfilesize in main()
375 lodepng::save_file(resultpng, out_filename); in main()
378 total_out_size += resultpng.size(); in main()