From 70608033bab44e05f347c61c372a55b36f8062d9 Mon Sep 17 00:00:00 2001 From: Tor Andersson Date: Sun, 20 Nov 2022 15:25:11 +0100 Subject: pngquant optimized images --- images/mat_battle.opt.png | Bin 0 -> 15104 bytes images/mat_russian_aleksandr.opt.png | Bin 0 -> 19116 bytes images/mat_russian_andrey.opt.png | Bin 0 -> 17629 bytes images/mat_russian_domash.opt.png | Bin 0 -> 17872 bytes images/mat_russian_gavrilo.opt.png | Bin 0 -> 17840 bytes images/mat_russian_karelians.opt.png | Bin 0 -> 18993 bytes images/mat_russian_vladislav.opt.png | Bin 0 -> 18067 bytes images/mat_teutonic_andreas.opt.png | Bin 0 -> 19898 bytes images/mat_teutonic_heinrich.opt.png | Bin 0 -> 18711 bytes images/mat_teutonic_hermann.opt.png | Bin 0 -> 20783 bytes images/mat_teutonic_knud_and_abel.opt.png | Bin 0 -> 18889 bytes images/mat_teutonic_rudolf.opt.png | Bin 0 -> 19346 bytes images/mat_teutonic_yaroslav.opt.png | Bin 0 -> 21173 bytes images/service_lords_russian.opt.png | Bin 0 -> 15912 bytes images/service_lords_russian.png | Bin 39800 -> 48354 bytes images/service_lords_teutonic.opt.png | Bin 0 -> 13261 bytes images/service_lords_teutonic.png | Bin 28784 -> 34254 bytes images/service_vassals_russian.opt.png | Bin 0 -> 40479 bytes images/service_vassals_russian.png | Bin 102990 -> 121611 bytes images/service_vassals_teutonic.opt.png | Bin 0 -> 34312 bytes images/service_vassals_teutonic.png | Bin 71570 -> 79923 bytes play.html | 34 +++++++++++++++--------------- tools/scale.sh | 10 ++------- 23 files changed, 19 insertions(+), 25 deletions(-) create mode 100644 images/mat_battle.opt.png create mode 100644 images/mat_russian_aleksandr.opt.png create mode 100644 images/mat_russian_andrey.opt.png create mode 100644 images/mat_russian_domash.opt.png create mode 100644 images/mat_russian_gavrilo.opt.png create mode 100644 images/mat_russian_karelians.opt.png create mode 100644 images/mat_russian_vladislav.opt.png create mode 100644 images/mat_teutonic_andreas.opt.png create mode 100644 images/mat_teutonic_heinrich.opt.png create mode 100644 images/mat_teutonic_hermann.opt.png create mode 100644 images/mat_teutonic_knud_and_abel.opt.png create mode 100644 images/mat_teutonic_rudolf.opt.png create mode 100644 images/mat_teutonic_yaroslav.opt.png create mode 100644 images/service_lords_russian.opt.png create mode 100644 images/service_lords_teutonic.opt.png create mode 100644 images/service_vassals_russian.opt.png create mode 100644 images/service_vassals_teutonic.opt.png diff --git a/images/mat_battle.opt.png b/images/mat_battle.opt.png new file mode 100644 index 0000000..210001d Binary files /dev/null and b/images/mat_battle.opt.png differ diff --git a/images/mat_russian_aleksandr.opt.png b/images/mat_russian_aleksandr.opt.png new file mode 100644 index 0000000..fcc0b04 Binary files /dev/null and b/images/mat_russian_aleksandr.opt.png differ diff --git a/images/mat_russian_andrey.opt.png b/images/mat_russian_andrey.opt.png new file mode 100644 index 0000000..d02a3b7 Binary files /dev/null and b/images/mat_russian_andrey.opt.png differ diff --git a/images/mat_russian_domash.opt.png b/images/mat_russian_domash.opt.png new file mode 100644 index 0000000..4a30a11 Binary files /dev/null and b/images/mat_russian_domash.opt.png differ diff --git a/images/mat_russian_gavrilo.opt.png b/images/mat_russian_gavrilo.opt.png new file mode 100644 index 0000000..840249b Binary files /dev/null and b/images/mat_russian_gavrilo.opt.png differ diff --git a/images/mat_russian_karelians.opt.png b/images/mat_russian_karelians.opt.png new file mode 100644 index 0000000..9770f72 Binary files /dev/null and b/images/mat_russian_karelians.opt.png differ diff --git a/images/mat_russian_vladislav.opt.png b/images/mat_russian_vladislav.opt.png new file mode 100644 index 0000000..c1996fe Binary files /dev/null and b/images/mat_russian_vladislav.opt.png differ diff --git a/images/mat_teutonic_andreas.opt.png b/images/mat_teutonic_andreas.opt.png new file mode 100644 index 0000000..537735f Binary files /dev/null and b/images/mat_teutonic_andreas.opt.png differ diff --git a/images/mat_teutonic_heinrich.opt.png b/images/mat_teutonic_heinrich.opt.png new file mode 100644 index 0000000..349cd98 Binary files /dev/null and b/images/mat_teutonic_heinrich.opt.png differ diff --git a/images/mat_teutonic_hermann.opt.png b/images/mat_teutonic_hermann.opt.png new file mode 100644 index 0000000..a81efea Binary files /dev/null and b/images/mat_teutonic_hermann.opt.png differ diff --git a/images/mat_teutonic_knud_and_abel.opt.png b/images/mat_teutonic_knud_and_abel.opt.png new file mode 100644 index 0000000..e1877a8 Binary files /dev/null and b/images/mat_teutonic_knud_and_abel.opt.png differ diff --git a/images/mat_teutonic_rudolf.opt.png b/images/mat_teutonic_rudolf.opt.png new file mode 100644 index 0000000..b466470 Binary files /dev/null and b/images/mat_teutonic_rudolf.opt.png differ diff --git a/images/mat_teutonic_yaroslav.opt.png b/images/mat_teutonic_yaroslav.opt.png new file mode 100644 index 0000000..c5019de Binary files /dev/null and b/images/mat_teutonic_yaroslav.opt.png differ diff --git a/images/service_lords_russian.opt.png b/images/service_lords_russian.opt.png new file mode 100644 index 0000000..c1489af Binary files /dev/null and b/images/service_lords_russian.opt.png differ diff --git a/images/service_lords_russian.png b/images/service_lords_russian.png index b674a4d..87e6604 100644 Binary files a/images/service_lords_russian.png and b/images/service_lords_russian.png differ diff --git a/images/service_lords_teutonic.opt.png b/images/service_lords_teutonic.opt.png new file mode 100644 index 0000000..e1764c6 Binary files /dev/null and b/images/service_lords_teutonic.opt.png differ diff --git a/images/service_lords_teutonic.png b/images/service_lords_teutonic.png index 9eac2c7..8d93f57 100644 Binary files a/images/service_lords_teutonic.png and b/images/service_lords_teutonic.png differ diff --git a/images/service_vassals_russian.opt.png b/images/service_vassals_russian.opt.png new file mode 100644 index 0000000..4a47c7b Binary files /dev/null and b/images/service_vassals_russian.opt.png differ diff --git a/images/service_vassals_russian.png b/images/service_vassals_russian.png index 4915082..b355d5f 100644 Binary files a/images/service_vassals_russian.png and b/images/service_vassals_russian.png differ diff --git a/images/service_vassals_teutonic.opt.png b/images/service_vassals_teutonic.opt.png new file mode 100644 index 0000000..7588207 Binary files /dev/null and b/images/service_vassals_teutonic.opt.png differ diff --git a/images/service_vassals_teutonic.png b/images/service_vassals_teutonic.png index e3be6e3..6044368 100644 Binary files a/images/service_vassals_teutonic.png and b/images/service_vassals_teutonic.png differ diff --git a/play.html b/play.html index 627b127..34a0651 100644 --- a/play.html +++ b/play.html @@ -259,19 +259,19 @@ body.shift .mustered_vassals { .mat .mustered_vassals { bottom: 138px; right: 8px; width: 94px; } X.mat .mustered_vassals { top: 228px; right: 6px; width: 94px; } -.mat.teutonic.andreas .background { background-image:url(images/mat_teutonic_andreas.png) } -.mat.teutonic.heinrich .background { background-image:url(images/mat_teutonic_heinrich.png) } -.mat.teutonic.hermann .background { background-image:url(images/mat_teutonic_hermann.png) } -.mat.teutonic.knud_and_abel .background { background-image:url(images/mat_teutonic_knud_and_abel.png) } -.mat.teutonic.rudolf .background { background-image:url(images/mat_teutonic_rudolf.png) } -.mat.teutonic.yaroslav .background { background-image:url(images/mat_teutonic_yaroslav.png) } - -.mat.russian.aleksandr .background { background-image:url(images/mat_russian_aleksandr.png) } -.mat.russian.andrey .background { background-image:url(images/mat_russian_andrey.png) } -.mat.russian.domash .background { background-image:url(images/mat_russian_domash.png) } -.mat.russian.gavrilo .background { background-image:url(images/mat_russian_gavrilo.png) } -.mat.russian.karelians .background { background-image:url(images/mat_russian_karelians.png) } -.mat.russian.vladislav .background { background-image:url(images/mat_russian_vladislav.png) } +.mat.teutonic.andreas .background { background-image:url(images/mat_teutonic_andreas.opt.png) } +.mat.teutonic.heinrich .background { background-image:url(images/mat_teutonic_heinrich.opt.png) } +.mat.teutonic.hermann .background { background-image:url(images/mat_teutonic_hermann.opt.png) } +.mat.teutonic.knud_and_abel .background { background-image:url(images/mat_teutonic_knud_and_abel.opt.png) } +.mat.teutonic.rudolf .background { background-image:url(images/mat_teutonic_rudolf.opt.png) } +.mat.teutonic.yaroslav .background { background-image:url(images/mat_teutonic_yaroslav.opt.png) } + +.mat.russian.aleksandr .background { background-image:url(images/mat_russian_aleksandr.opt.png) } +.mat.russian.andrey .background { background-image:url(images/mat_russian_andrey.opt.png) } +.mat.russian.domash .background { background-image:url(images/mat_russian_domash.opt.png) } +.mat.russian.gavrilo .background { background-image:url(images/mat_russian_gavrilo.opt.png) } +.mat.russian.karelians .background { background-image:url(images/mat_russian_karelians.opt.png) } +.mat.russian.vladislav .background { background-image:url(images/mat_russian_vladislav.opt.png) } /* TUCKED CARDS */ @@ -801,10 +801,10 @@ X.mat .mustered_vassals { top: 228px; right: 6px; width: 94px; } .service_marker.lord { background-size: 90px 252px } .service_marker.vassal { background-size: 270px 210px } -.service_marker.lord.teutonic { background-image:url(images/service_lords_teutonic.png) } -.service_marker.lord.russian { background-image:url(images/service_lords_russian.png) } -.service_marker.vassal.teutonic { background-image:url(images/service_vassals_teutonic.png) } -.service_marker.vassal.russian { background-image:url(images/service_vassals_russian.png) } +.service_marker.lord.teutonic { background-image:url(images/service_lords_teutonic.opt.png) } +.service_marker.lord.russian { background-image:url(images/service_lords_russian.opt.png) } +.service_marker.vassal.teutonic { background-image:url(images/service_vassals_teutonic.opt.png) } +.service_marker.vassal.russian { background-image:url(images/service_vassals_russian.opt.png) } .service_marker.lord.image0{background-position:0 -0px} .service_marker.lord.image1{background-position:0 -42px} diff --git a/tools/scale.sh b/tools/scale.sh index a54d41e..65e7fe9 100644 --- a/tools/scale.sh +++ b/tools/scale.sh @@ -5,14 +5,8 @@ do echo $F O=${F/300/75} - gm convert $F -colorspace RGB -resize 25% -colorspace sRGB $O.tmp - rm -f $O - zopflipng -m $O.tmp $O - rm -f $O.tmp + convert $F -colorspace RGB -resize 25% -colorspace sRGB $O O=${F/300/150} - gm convert $F -colorspace RGB -resize 50% -colorspace sRGB $O.tmp - rm -f $O - zopflipng -m $O.tmp $O - rm -f $O.tmp + convert $F -colorspace RGB -resize 50% -colorspace sRGB $O done -- cgit v1.2.3