mirror of
https://github.com/Sendouc/sendou.ink.git
synced 2026-09-08 04:05:54 -05:00
Add badge
This commit is contained in:
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.
|
After Width: | Height: | Size: 2.4 KiB |
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 |
Reference in New Issue
Block a user