Compare commits

..

4 Commits

View File

@ -75,7 +75,7 @@ class UpdateListener : public efsw::FileWatchListener {
std::string flipped_filename = std::string flipped_filename =
dir + "flipped_" + filename.substr( 0, filename.length() - 3 ) + "png"; dir + "flipped_" + filename.substr( 0, filename.length() - 3 ) + "png";
//stbi_write_jpg(flipped_filename.c_str(), width, height, channels, image_data, 100);
stbi_write_png( flipped_filename.c_str(), width, height, channels, image_data, stbi_write_png( flipped_filename.c_str(), width, height, channels, image_data,
width * channels ); width * channels );