From 5ac392ae7c7599e2936143e62acf3badd3e63c9d Mon Sep 17 00:00:00 2001 From: Daniel Cox Date: Fri, 18 Mar 2022 09:32:00 +1300 Subject: [PATCH] Shrink hand images to save memory --- apps/seiko-5actus/app.js | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/apps/seiko-5actus/app.js b/apps/seiko-5actus/app.js index a2e2d4569..078b6e5c2 100644 --- a/apps/seiko-5actus/app.js +++ b/apps/seiko-5actus/app.js @@ -7,17 +7,17 @@ var imgBg = { /* Set hour hand image */ var imgHour = { - width : 16, height : 176, bpp : 2, + width : 14, height : 114, bpp : 2, transparent : 0, - buffer : require("heatshrink").decompress(atob("AH4A/AH4A/AEk//gDp///gEDAYPAh4DB+E/AYP8AaYbDEYYrDLdgD/Af4DXh/wAYIA/AGwA=")) + buffer : require("heatshrink").decompress(atob("AH4A/AB8P/4DB//wAz8D//8BIIKBn4DB54CBACPzAQP8EoImBD4PAJkQG/A34GIgbUBA")) }; /* Set minute hand image */ var imgMin = { - width : 8, height : 176, bpp : 2, + width : 4, height : 168, bpp : 2, transparent : 0, - buffer : require("heatshrink").decompress(atob("AH4A/AB8P+AB/AP4B/AIcA4DPHA=")) + buffer : require("heatshrink").decompress(atob("AH4AE/4A/AEI")) }; /* Set second hand image */