From 0819fc90582e606f686c7a28e5644b173386991f Mon Sep 17 00:00:00 2001 From: Hermet Park Date: Fri, 3 Nov 2023 14:24:04 +0900 Subject: [PATCH] binding/wasm: updated save features - removed the compression option - added an animation save function. --- src/bindings/wasm/tvgWasm.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/bindings/wasm/tvgWasm.cpp b/src/bindings/wasm/tvgWasm.cpp index 3b1d54b0..55ce2721 100644 --- a/src/bindings/wasm/tvgWasm.cpp +++ b/src/bindings/wasm/tvgWasm.cpp @@ -185,7 +185,7 @@ public: updated = true; } - bool save(bool compress) + bool save() { errorMsg = NoError; @@ -203,7 +203,7 @@ public: errorMsg = "duplicate(), fail"; return false; } - if (saver->save(std::move(duplicate), "output.tvg", compress) != tvg::Result::Success) { + if (saver->save(std::move(duplicate), "output.tvg") != tvg::Result::Success) { errorMsg = "save(), fail"; return false; }