fix(script): add ending for raw loader of ThorVG (#7186)

Co-authored-by: SamNofee <sam@nofee.fun>
This commit is contained in:
Link
2024-11-15 16:22:36 +08:00
committed by GitHub
parent 1eb2d3aee8
commit bfc47f424a
3 changed files with 15 additions and 4 deletions

View File

@@ -81,7 +81,9 @@ array. E.g.:
.. code-block:: shell
./filetohex.py path/to/lottie.json > out.txt
./filetohex.py path/to/lottie.json --filter-character --null-terminate > out.txt
``--filter-character`` filters out non-ASCII characters and ``--null-terminate`` makes sure that a trailing zero is appended to properly close the string.
To create an animation from raw data: