Skip to content

Commit

Permalink
Update 2024-02-10-video-canvas-and-ai.md
Browse files Browse the repository at this point in the history
  • Loading branch information
toots authored Feb 10, 2024
1 parent 23dd54a commit 3067e9b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion _posts/2024-02-10-video-canvas-and-ai.md
Original file line number Diff line number Diff line change
Expand Up @@ -52,7 +52,7 @@ For conversion, the API provides convenience functions that are inspired from ho
* `rem` converts a percentage of the default font size, expressed as a number between `0.` and `1.` into actual pixels
* `width` and `height` are the actual canvas size

For convenience, a new `@` syntax has been introduced so, instead of writting `px(237)`, you can write: `237 @ px`, which is much more readable.
For convenience, a new `@` syntax has been introduced so that, instead of writting `px(237)`, you can write: `237 @ px`, which is much more readable.

Last thing: if you are using a release from the `2.2.x` branch, you can simply copy the code into your script. It is available [here](https://github.com/savonet/liquidsoap/blob/main/src/libs/video.liq#L768)

Expand Down

0 comments on commit 3067e9b

Please sign in to comment.