mirror of
https://github.com/thorvg/thorvg.git
synced 2025-06-08 05:33:36 +00:00
Update README.md
This commit is contained in:
parent
4208278bb1
commit
07a6b9cbe4
1 changed files with 3 additions and 3 deletions
|
@ -361,7 +361,7 @@ ThorVG API documentation is available at [thorvg.org/apis](https://www.thorvg.or
|
|||
ThorVG provides the resource verification tool for the ThorVG Engine. [ThorVG viewer](https://thorvg.github.io/thorvg.viewer/) does immediate rendering via web browser running on the ThorVG web-assembly binary, allowing real-time editing of the vector elements on it. It doesn't upload your resources to any external server while allowing to export to supported formats such as TVG, so the designer resource copyright is protected.
|
||||
|
||||
https://user-images.githubusercontent.com/71131832/130445967-fb8f7d81-9c89-4598-b7e4-2c046d5d7438.mp4
|
||||
<br />
|
||||
|
||||
### Lottie to GIF
|
||||
ThorVG provides an executable `lottie2gif` converter that generates a GIF file from a Lottie file.
|
||||
|
||||
|
@ -371,7 +371,7 @@ meson setup builddir -Dtools=lottie2gif -Dsavers=gif
|
|||
```
|
||||
To use the 'lottie2gif' converter, you need to provide the 'Lottie files' parameter. This parameter can be a file name with the '.json' extension or a directory name. It also accepts multiple files or directories separated by spaces. If a directory is specified, the converter will search for files with the '.json' extension within that directory and all its subdirectories.<br />
|
||||
<br />
|
||||
Optionally, you can specify the image resolution in the 'WxH' format, with two numbers separated by an 'x' sign, following the '-r' flag.
|
||||
Optionally, you can specify the image resolution in the 'WxH' format, with two numbers separated by an 'x' sign, following the '-r' flag.<br />
|
||||
<br />
|
||||
Both flags, if provided, are applied to all of the `.json` files.
|
||||
|
||||
|
@ -404,7 +404,7 @@ To use the 'svg2png' converter, you need to provide the 'SVG files' parameter. T
|
|||
<br />
|
||||
Optionally, you can specify the image resolution in the 'WxH' format, with two numbers separated by an 'x' sign, following the '-r' flag.<br />
|
||||
<br />
|
||||
The background color can be set with the `-b` flag. The `bgColor` parameter should be passed as a three-bytes hexadecimal value in the `ffffff` format. The default background is transparent.
|
||||
The background color can be set with the `-b` flag. The `bgColor` parameter should be passed as a three-bytes hexadecimal value in the `ffffff` format. The default background is transparent.<br />
|
||||
<br />
|
||||
Both flags, if provided, are applied to all of the `.svg` files.
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue