mirror of
https://github.com/Sendouc/sendou.ink.git
synced 2026-03-21 18:04:39 -05:00
Add badge
This commit is contained in:
parent
be7c623f17
commit
d8b61460ef
12
README.md
12
README.md
|
|
@ -140,12 +140,6 @@ Note: Currently the project is in progress to migrating this style so that's why
|
|||
|
||||
## Commands
|
||||
|
||||
### Converting gifs (badges) to thumbnail (.png)
|
||||
|
||||
```bash
|
||||
sips -s format png ./sundae.gif --out .
|
||||
```
|
||||
|
||||
### Add new badge to the database
|
||||
|
||||
```bash
|
||||
|
|
@ -164,6 +158,12 @@ npm run rename-badge -- 10 "New 4v4 Sundaes"
|
|||
npm run add-badge-winners -- 10 "750705955909664791,79237403620945920"
|
||||
```
|
||||
|
||||
### Converting gifs (badges) to thumbnail (.png)
|
||||
|
||||
```bash
|
||||
sips -s format png ./sundae.gif --out .
|
||||
```
|
||||
|
||||
### Convert many .png files to .avif
|
||||
|
||||
While in the folder with the images:
|
||||
|
|
|
|||
BIN
public/static-assets/badges/carbon.avif
Normal file
BIN
public/static-assets/badges/carbon.avif
Normal file
Binary file not shown.
BIN
public/static-assets/badges/carbon.gif
Normal file
BIN
public/static-assets/badges/carbon.gif
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 1.1 MiB |
BIN
public/static-assets/badges/carbon.png
Normal file
BIN
public/static-assets/badges/carbon.png
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 9.4 KiB |
Loading…
Reference in New Issue
Block a user