diff --git a/src/joomer-efsw-file-monitoring.cpp b/src/joomer-efsw-file-monitoring.cpp index 4b65818..4b884a8 100644 --- a/src/joomer-efsw-file-monitoring.cpp +++ b/src/joomer-efsw-file-monitoring.cpp @@ -75,7 +75,7 @@ class UpdateListener : public efsw::FileWatchListener { std::string flipped_filename = 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, width * channels );