From 2b88e3928f86f05a57566166535cdb40b7a77878 Mon Sep 17 00:00:00 2001 From: jason Date: Mon, 29 Dec 2025 23:43:04 +0000 Subject: [PATCH] remove write_jpg --- src/joomer-efsw-file-monitoring.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 );