Browse Source

feat: regenerater the png

pull/77/head
colorfulberry 1 month ago
parent
commit
333d6512cf
14 changed files with 12 additions and 12 deletions
  1. +12
    -12
      Makefile
  2. BIN
      public/img/404.png
  3. BIN
      public/img/500.png
  4. BIN
      public/img/apple-touch-icon.png
  5. BIN
      public/img/avatar_default.png
  6. BIN
      public/img/emoji/gitea.png
  7. BIN
      public/img/favicon.ico
  8. BIN
      public/img/favicon.png
  9. BIN
      public/img/feishu.png
  10. BIN
      public/img/gitea-192.png
  11. BIN
      public/img/gitea-512.png
  12. BIN
      public/img/gitea-lg.png
  13. BIN
      public/img/gitea-sm.png
  14. BIN
      public/img/org_bg.png

+ 12
- 12
Makefile View File

@@ -616,20 +616,20 @@ update-translations:
generate-images:
$(eval TMPDIR := $(shell mktemp -d 2>/dev/null || mktemp -d -t 'gitea-temp'))
mkdir -p $(TMPDIR)/images
inkscape -f $(PWD)/assets/logo.svg -w 880 -h 880 -e $(PWD)/public/img/gitea-lg.png
inkscape -f $(PWD)/assets/logo.svg -w 512 -h 512 -e $(PWD)/public/img/gitea-512.png
inkscape -f $(PWD)/assets/logo.svg -w 192 -h 192 -e $(PWD)/public/img/gitea-192.png
inkscape -f $(PWD)/assets/logo.svg -w 120 -h 120 -jC -i layer1 -e $(TMPDIR)/images/sm-1.png
inkscape -f $(PWD)/assets/logo.svg -w 120 -h 120 -jC -i layer2 -e $(TMPDIR)/images/sm-2.png
inkscape $(PWD)/assets/logo.svg -w 880 -h 880 --export-filename=$(PWD)/public/img/gitea-lg.png
inkscape $(PWD)/assets/logo.svg -w 512 -h 512 --export-filename=$(PWD)/public/img/gitea-512.png
inkscape $(PWD)/assets/logo.svg -w 192 -h 192 --export-filename=$(PWD)/public/img/gitea-192.png
inkscape $(PWD)/assets/logo.svg -w 120 -h 120 --export-filename=$(TMPDIR)/images/sm-1.png
inkscape $(PWD)/assets/logo.svg -w 120 -h 120 --export-filename=$(TMPDIR)/images/sm-2.png
composite -compose atop $(TMPDIR)/images/sm-2.png $(TMPDIR)/images/sm-1.png $(PWD)/public/img/gitea-sm.png
inkscape -f $(PWD)/assets/logo.svg -w 200 -h 200 -e $(PWD)/public/img/avatar_default.png
inkscape -f $(PWD)/assets/logo.svg -w 180 -h 180 -e $(PWD)/public/img/favicon.png
inkscape -f $(PWD)/assets/logo.svg -w 128 -h 128 -e $(TMPDIR)/images/128-raw.png
inkscape -f $(PWD)/assets/logo.svg -w 64 -h 64 -e $(TMPDIR)/images/64-raw.png
inkscape -f $(PWD)/assets/logo.svg -w 32 -h 32 -jC -i layer1 -e $(TMPDIR)/images/32-1.png
inkscape -f $(PWD)/assets/logo.svg -w 32 -h 32 -jC -i layer2 -e $(TMPDIR)/images/32-2.png
inkscape $(PWD)/assets/logo.svg -w 200 -h 200 --export-filename=$(PWD)/public/img/avatar_default.png
inkscape $(PWD)/assets/logo.svg -w 180 -h 180 --export-filename=$(PWD)/public/img/favicon.png
inkscape $(PWD)/assets/logo.svg -w 128 -h 128 --export-filename=$(TMPDIR)/images/128-raw.png
inkscape $(PWD)/assets/logo.svg -w 64 -h 64 --export-filename=$(TMPDIR)/images/64-raw.png
inkscape $(PWD)/assets/logo.svg -w 32 -h 32 --export-filename=$(TMPDIR)/images/32-1.png
inkscape $(PWD)/assets/logo.svg -w 32 -h 32 --export-filename=$(TMPDIR)/images/32-2.png
composite -compose atop $(TMPDIR)/images/32-2.png $(TMPDIR)/images/32-1.png $(TMPDIR)/images/32-raw.png
inkscape -f $(PWD)/assets/logo.svg -w 16 -h 16 -jC -i layer1 -e $(TMPDIR)/images/16-raw.png
inkscape $(PWD)/assets/logo.svg -w 16 -h 16 --export-filename=$(TMPDIR)/images/16-raw.png
zopflipng -m -y $(TMPDIR)/images/128-raw.png $(TMPDIR)/images/128.png
zopflipng -m -y $(TMPDIR)/images/64-raw.png $(TMPDIR)/images/64.png
zopflipng -m -y $(TMPDIR)/images/32-raw.png $(TMPDIR)/images/32.png


BIN
public/img/404.png View File

Before After
Width: 1920  |  Height: 1080  |  Size: 166 KiB Width: 1920  |  Height: 1080  |  Size: 163 KiB

BIN
public/img/500.png View File

Before After
Width: 1920  |  Height: 1080  |  Size: 80 KiB Width: 1920  |  Height: 1080  |  Size: 70 KiB

BIN
public/img/apple-touch-icon.png View File

Before After
Width: 180  |  Height: 180  |  Size: 5.3 KiB Width: 180  |  Height: 180  |  Size: 2.0 KiB

BIN
public/img/avatar_default.png View File

Before After
Width: 200  |  Height: 200  |  Size: 6.1 KiB Width: 200  |  Height: 200  |  Size: 2.4 KiB

BIN
public/img/emoji/gitea.png View File

Before After
Width: 128  |  Height: 128  |  Size: 13 KiB Width: 128  |  Height: 128  |  Size: 11 KiB

BIN
public/img/favicon.ico View File

Before After

BIN
public/img/favicon.png View File

Before After
Width: 104  |  Height: 104  |  Size: 3.1 KiB Width: 180  |  Height: 180  |  Size: 2.2 KiB

BIN
public/img/feishu.png View File

Before After
Width: 64  |  Height: 64  |  Size: 1.9 KiB Width: 64  |  Height: 64  |  Size: 1.9 KiB

BIN
public/img/gitea-192.png View File

Before After
Width: 192  |  Height: 192  |  Size: 5.7 KiB Width: 192  |  Height: 192  |  Size: 2.3 KiB

BIN
public/img/gitea-512.png View File

Before After
Width: 512  |  Height: 512  |  Size: 17 KiB Width: 512  |  Height: 512  |  Size: 5.2 KiB

BIN
public/img/gitea-lg.png View File

Before After
Width: 880  |  Height: 880  |  Size: 33 KiB Width: 880  |  Height: 880  |  Size: 8.9 KiB

BIN
public/img/gitea-sm.png View File

Before After
Width: 120  |  Height: 120  |  Size: 3.3 KiB Width: 120  |  Height: 120  |  Size: 1.6 KiB

BIN
public/img/org_bg.png View File

Before After
Width: 1200  |  Height: 800  |  Size: 87 KiB Width: 1200  |  Height: 800  |  Size: 76 KiB

Loading…
Cancel
Save