From 799791696876e13bfba60d73679f20289508d679 Mon Sep 17 00:00:00 2001 From: Aaron Fischer Date: Thu, 31 Aug 2017 14:56:26 +0200 Subject: [PATCH] Compress images --- Makefile | 3 ++- src/assets/images/room_stasis.gif | Bin 971 -> 0 bytes src/assets/images/room_stasis.png | Bin 0 -> 761 bytes src/assets/images/room_stasis_dark.gif | Bin 140 -> 0 bytes src/assets/images/room_stasis_dark.png | Bin 0 -> 132 bytes src/assets/images/stasis_doorSheet.png | Bin 361 -> 293 bytes src/assets/images/stasis_lightSwitch.gif | Bin 87 -> 0 bytes src/assets/images/stasis_lightSwitch.png | Bin 0 -> 104 bytes 8 files changed, 2 insertions(+), 1 deletion(-) delete mode 100644 src/assets/images/room_stasis.gif create mode 100644 src/assets/images/room_stasis.png delete mode 100644 src/assets/images/room_stasis_dark.gif create mode 100644 src/assets/images/room_stasis_dark.png delete mode 100644 src/assets/images/stasis_lightSwitch.gif create mode 100644 src/assets/images/stasis_lightSwitch.png diff --git a/Makefile b/Makefile index 403f5c9..a97237f 100755 --- a/Makefile +++ b/Makefile @@ -5,10 +5,10 @@ all: build stat clean build: rm -f muri-src.zip muri.zip src/muri.min.js uglifyjs --compress --mangle --no-dead-code --output src/muri.min.js src/*.js + (cd src/assets/images; for i in `ls *.png`; do pngcrush -brute -reduce_palette -ow $$i; done) (cd src && zip -q -9 ../muri.zip index.html muri.min.js assets/* assets/**/* vendor/*.min.js) (cd src && zip -q -9 ../muri-src.zip ./* ./**/* ./**/**/* ../README) -.ONESHELL: stat: build @filesize=`stat --printf="%s" muri.zip` && \ echo $$filesize "byte ->" $$((100*$$filesize/13000)) "%" @@ -16,4 +16,5 @@ stat: build clean: rm -f src/muri.min.js muri.zip +.ONESHELL: .PHONY: build stat clean all diff --git a/src/assets/images/room_stasis.gif b/src/assets/images/room_stasis.gif deleted file mode 100644 index b3c0a9004d951b71775fcdacc3242c2e77a0f8a6..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 971 zcmV;+12p_cNk%w1VPpU;0OJk-L_a|r9w`6-08&y+cX(TKVNjl=r_1Q~qB2h4i+NOP z001)xHYZ19WPJbs|NsC0EC2ui0Av6y000F35QIsmkm1&+I%^qX} zzQA@8mutI&uD*-e?*9S^2!MozfrfvBh=GG(c5^>mE&`AN0E>cxg?W5>ntB))go7WV z2?>fReUT(VBS9H^5}6#K7zqNkA}fr7rwF)REh$=Yb*v-=6{-U%0|f=LDT1mNz`@SY zBF-q$0(E-Os>A`x9AYs9GSwF5ErxNFfWGvXh4J=tj*;&W*1KmArnJ#{v0kOpU0 ze=auE=$}%#t9A}45Ada{asH=_GGEb`7z%!5mz)s$#b=#*(Y5!WgA>;06I3<<&|e!I zc4&hbV<3m21QNgy5{4+INXQwesfdAwC#oo;ijK7CqJ|djf!U6P?1)*9J~9BLkN>Q5UnFUqKGNl1oBBG8PNG55(5G+{|Bm*7^(`1lo=CY=b zZJNnuV>8NVNdt50ac7=t;t8i&d;VGHpmGYT=9zK6xnrV;(m5!Kfi4Ot0DelUC#8J4 zSt(|1KANH&4Q$##oCAcq#Pmbn#--UriyE?u)635 zh#)ot%CN+$lMjx`gDQJ$v(5&KVi*IBvjZpuRIAFhd}KRL7|VKVZIsfsBrX68T!o+> z=ccQ`x?P;>3%p-w>n^?Jn)|IY?Cwi%8Q-!5@Hh(Q>t!?h3XE{T>@G}j!~Pa*a3NpX t(C`fxTO2PA6PsIX#W1k@@eCrP1G2y)%h2)4EVu0P%P_|*a~BZ+06R#Q!NdRn diff --git a/src/assets/images/room_stasis.png b/src/assets/images/room_stasis.png new file mode 100644 index 0000000000000000000000000000000000000000..c5190d23602dc6dc6207a56d2e1ca09090e4d047 GIT binary patch literal 761 zcmVqxwG%tt?(S{{O>6;8H??3 zlZf?;uUg67ZLAlK#KQ~GfH>J`q?A~>%$NBby{BzsjhtckyX~FJEJQ%>b}#Y`JBuN$ zH`q9y7>R=PWFu$4ekksboe{tZQ>=*WWVkV;;Odw{nX%BSbbUoq z3Uh{(2*8eYY$-OgmYPF~#Hr)b>5k$Iu~vUBt}LbW8cUdxvP6UzLrNMlwtz*b0=^gX zfFdN|OP17_A`@e-b(w)uSxV+nBI=eYz(x23Po?x!TKmB5l1cy-S6vN5=tgYx{m+R9+wWZ#yhIq2VF*#? rTr>nBiv3{>Lx@r@msB(a|5yA5-VoTJ`*dr100000NkvXXu0mjfBxh8~ literal 0 HcmV?d00001 diff --git a/src/assets/images/room_stasis_dark.gif b/src/assets/images/room_stasis_dark.gif deleted file mode 100644 index 61d9d0985268beea75bd68200e0288e42c3ee110..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 140 zcmZ?wbhEHbOkvPvIK<8X1R+@r48|NBUN(!2{G{bHA9Pp#|NmbHBm+{zz#Pf3>&`!e zQ=Y5$TD(5H`+tH)UrOe@j8*G$UhgZ=IbV`{zhd3-MuRsNOa&e~QvD~E6rIemntx$M siPzew^*7d(oqk)j|G|bGY8otRPdB#&7%VvZct?%j`rGf>V~&t4hDAnx z54tNkylhrp*W3q`(DHO~4DmRgoFKuvIN<}+VwOu^Eqd5)Yk;^D7+jfCP8l-HH0NSt aVPI%zU5p;LN|hhgl7nV2s?7BP5h)|aB!60gtlEKj9M@u$M4~C_ zE78_E&^kaT@Ceohh;|^RWdIU7)+~wky3(3>e*^L+5MMyEB!F8&>ONFiCVUBO?{FJ{ zYY&{??rS(DCIbUQP>@e?V!*s5%TK@fzR1Y$L3d?H76XGZhnc#2 zN=nU>n=$W!iWp0R{DK)Ap4~_Tagw~Fdh=kV8UP%&5+8JxJYdPZ!4!i_>=}`_}U@8FI9G?kaZg574{d7cO^Nxq_wtfiEl9 zEqUKJr(7l}>I>UdoMB<$2vuh8n0DvOaf_fuNBXl)IvPuaKL6Fw5h9Q*w$>r=?E#y< zY(p=li&MT%&B&I`kX;~L!II7FVlD95h=Ef!dzwpiY_9K~{fw!?9r_C*g%0Q{mddZv z6L#OnvaNgv-+{I4=km*U@JxHRcj@K+vLEgLH*93SFWsIt>GtWeX7?iR%q=0y1r97> d^j~^_`HheB=7^@l+khTn@O1TaS?83{1OTe|db9ul diff --git a/src/assets/images/stasis_lightSwitch.gif b/src/assets/images/stasis_lightSwitch.gif deleted file mode 100644 index 16c551eb1bd3e24a15074f82cbae32db2ad22f4c..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 87 zcmZ?wbh9u|WMyDsC}&_${Lk&@8WQa67~pE8XTZ$J02KPk!pQ}sb%2-wq^t?VU|^7z e)8z273CUtuWaI}CVdj)jlyY{S>gLSEU=09w;teqX diff --git a/src/assets/images/stasis_lightSwitch.png b/src/assets/images/stasis_lightSwitch.png new file mode 100644 index 0000000000000000000000000000000000000000..bf35a73b72f96dc0e9b9c35f77d4964026f5f873 GIT binary patch literal 104 zcmeAS@N?(olHy`uVBq!ia0vp^tU%1d!VDz0$i65BQv3lvA+A80!^>uok)O1jW=Ix8 x=Z~6oKp_!N7sn6|+2jO+goGrK6d=LC%)s2u;2v`Q-v*#OgQu&X%Q~loCIAP)7lr@; literal 0 HcmV?d00001