Lines Matching refs:fnmod
56 std::string fnmod(filename);
57 std::string fnext = fnmod.substr(fnmod.find_last_of("."));
60 fnmod = fnmod.erase(fnmod.length() - fnext.size());
64 ss << fnmod << "_" << std::setw(3) << std::setfill('0') << index << fnext;
173 std::string fnmod = get_output_filename(img, filename, i);
176 res = SaveEXR(buf, img->dim_x, img->dim_y, 4, 1, fnmod.c_str(), nullptr);
207 std::string fnmod = get_output_filename(img, filename, i);
211 res = stbi_write_png(fnmod.c_str(), img->dim_x, img->dim_y, 4, buf, img->dim_x * 4);
241 std::string fnmod = get_output_filename(img, filename, i);
245 res = stbi_write_tga(fnmod.c_str(), img->dim_x, img->dim_y, 4, buf);
275 std::string fnmod = get_output_filename(img, filename, i);
279 res = stbi_write_bmp(fnmod.c_str(), img->dim_x, img->dim_y, 4, buf);
307 std::string fnmod = get_output_filename(img, filename, i);
310 res = stbi_write_hdr(fnmod.c_str(), img->dim_x, img->dim_y, 4, buf);