summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--Makefile11
-rw-r--r--public/img/auth/dropbox.pngbin1427 -> 1424 bytes
-rw-r--r--public/img/auth/facebook.pngbin2327 -> 2088 bytes
-rw-r--r--public/img/auth/google_plus.pngbin4366 -> 1254 bytes
-rw-r--r--public/img/auth/openid_connect.pngbin12921 -> 4084 bytes
-rw-r--r--public/img/auth/twitter.pngbin3110 -> 2709 bytes
-rw-r--r--public/img/avatar_default.pngbin9080 -> 6237 bytes
-rw-r--r--public/img/favicon.icobin90022 -> 90022 bytes
-rw-r--r--public/img/favicon.pngbin8268 -> 5576 bytes
-rw-r--r--public/img/gitea-192.pngbin8738 -> 5886 bytes
-rw-r--r--public/img/gitea-512.pngbin25737 -> 17692 bytes
-rw-r--r--public/img/gitea-lg.pngbin46270 -> 33872 bytes
-rw-r--r--public/img/gitea-sm.pngbin4881 -> 3365 bytes
-rw-r--r--public/img/openid-16x16.pngbin230 -> 172 bytes
-rw-r--r--public/img/slack.pngbin1516 -> 1428 bytes
15 files changed, 6 insertions, 5 deletions
diff --git a/Makefile b/Makefile
index 23da149d76..6affeee38d 100644
--- a/Makefile
+++ b/Makefile
@@ -427,16 +427,17 @@ generate-images:
inkscape -f $(PWD)/assets/logo.svg -w 32 -h 32 -jC -i layer2 -e $(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
- zopflipng $(TMPDIR)/images/128-raw.png $(TMPDIR)/images/128.png
- zopflipng $(TMPDIR)/images/64-raw.png $(TMPDIR)/images/64.png
- zopflipng $(TMPDIR)/images/32-raw.png $(TMPDIR)/images/32.png
- zopflipng $(TMPDIR)/images/16-raw.png $(TMPDIR)/images/16.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
+ zopflipng -m -y $(TMPDIR)/images/16-raw.png $(TMPDIR)/images/16.png
rm -f $(TMPDIR)/images/*-*.png
convert $(TMPDIR)/images/16.png $(TMPDIR)/images/32.png \
$(TMPDIR)/images/64.png $(TMPDIR)/images/128.png \
$(PWD)/public/img/favicon.ico
rm -rf $(TMPDIR)/images
-
+ $(foreach file, $(shell find public/img -type f -name '*.png'),zopflipng -m -y $(file) $(file);)
+
.PHONY: pr
pr:
$(GO) run contrib/pr/checkout.go $(PR)
diff --git a/public/img/auth/dropbox.png b/public/img/auth/dropbox.png
index da2348872a..c2f4c90974 100644
--- a/public/img/auth/dropbox.png
+++ b/public/img/auth/dropbox.png
Binary files differ
diff --git a/public/img/auth/facebook.png b/public/img/auth/facebook.png
index 29273af14f..80aa5183ac 100644
--- a/public/img/auth/facebook.png
+++ b/public/img/auth/facebook.png
Binary files differ
diff --git a/public/img/auth/google_plus.png b/public/img/auth/google_plus.png
index 720824230a..21251288d2 100644
--- a/public/img/auth/google_plus.png
+++ b/public/img/auth/google_plus.png
Binary files differ
diff --git a/public/img/auth/openid_connect.png b/public/img/auth/openid_connect.png
index af033cd1fe..3d0de52e4e 100644
--- a/public/img/auth/openid_connect.png
+++ b/public/img/auth/openid_connect.png
Binary files differ
diff --git a/public/img/auth/twitter.png b/public/img/auth/twitter.png
index a4f14de57a..9d3d89a4af 100644
--- a/public/img/auth/twitter.png
+++ b/public/img/auth/twitter.png
Binary files differ
diff --git a/public/img/avatar_default.png b/public/img/avatar_default.png
index 30aca2ef06..455155db10 100644
--- a/public/img/avatar_default.png
+++ b/public/img/avatar_default.png
Binary files differ
diff --git a/public/img/favicon.ico b/public/img/favicon.ico
index fd35f5357f..681d76d33a 100644
--- a/public/img/favicon.ico
+++ b/public/img/favicon.ico
Binary files differ
diff --git a/public/img/favicon.png b/public/img/favicon.png
index 48169c1b68..30d3313594 100644
--- a/public/img/favicon.png
+++ b/public/img/favicon.png
Binary files differ
diff --git a/public/img/gitea-192.png b/public/img/gitea-192.png
index 63f963e846..12caba8d5d 100644
--- a/public/img/gitea-192.png
+++ b/public/img/gitea-192.png
Binary files differ
diff --git a/public/img/gitea-512.png b/public/img/gitea-512.png
index 59d1fed7d9..456abfa0c0 100644
--- a/public/img/gitea-512.png
+++ b/public/img/gitea-512.png
Binary files differ
diff --git a/public/img/gitea-lg.png b/public/img/gitea-lg.png
index 1538cd1852..682ceaf7be 100644
--- a/public/img/gitea-lg.png
+++ b/public/img/gitea-lg.png
Binary files differ
diff --git a/public/img/gitea-sm.png b/public/img/gitea-sm.png
index 05922cdbc8..405f40f170 100644
--- a/public/img/gitea-sm.png
+++ b/public/img/gitea-sm.png
Binary files differ
diff --git a/public/img/openid-16x16.png b/public/img/openid-16x16.png
index b318480842..ee1b00e147 100644
--- a/public/img/openid-16x16.png
+++ b/public/img/openid-16x16.png
Binary files differ
diff --git a/public/img/slack.png b/public/img/slack.png
index d61c2cd4e6..28d863f8cb 100644
--- a/public/img/slack.png
+++ b/public/img/slack.png
Binary files differ