mirror of
https://codeberg.org/Codeberg/avatars.git
synced 2023-08-10 21:12:50 +03:00
Merge branch 'master' into split
This commit is contained in:
commit
38996cd778
@ -13,7 +13,7 @@ import `codeberg.org/Codeberg/avatars` & use `string svg = avatars.MakeAvatar(se
|
|||||||
```shell
|
```shell
|
||||||
# will build the binary
|
# will build the binary
|
||||||
go build -o avatars example/main.go
|
go build -o avatars example/main.go
|
||||||
# Create a random avatar and write it to /tmp/avatar.svg
|
# Create a random avatar and write it to /tmp/avatar.svg. Note that for the same seed string always the same image will be generated.
|
||||||
./avatars my-special-seed-string > /tmp/avatar.svg
|
./avatars my-special-seed-string > /tmp/avatar.svg
|
||||||
# Open SVG file with image viewer
|
# Open SVG file with image viewer
|
||||||
eog /tmp/avatar.svg
|
eog /tmp/avatar.svg
|
||||||
|
Loading…
Reference in New Issue
Block a user