binding/wasm: updated save features

- removed the compression option
- added an animation save function.
This commit is contained in:
Hermet Park 2023-11-03 14:24:04 +09:00
parent ec958c5fec
commit 40ff8592e5

View file

@ -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;
}