mirror of
https://github.com/thorvg/thorvg.git
synced 2025-06-12 15:34:22 +00:00
binding/wasm: updated save features
- removed the compression option - added an animation save function.
This commit is contained in:
parent
ec958c5fec
commit
40ff8592e5
1 changed files with 2 additions and 2 deletions
|
@ -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;
|
||||
}
|
||||
|
|
Loading…
Add table
Reference in a new issue