favicon unishox compression fixed

This commit is contained in:
barbudor 2022-01-07 23:35:06 +01:00
parent 9758587cdd
commit b43c62f726
4 changed files with 47 additions and 31 deletions

View File

@ -2,25 +2,33 @@
// compressed by tools/unishox/compress-html-uncompressed.py
/////////////////////////////////////////////////////////////////////
const size_t HTTP_HEADER1_SIZE = 505;
const size_t HTTP_HEADER1_SIZE = 845;
const char HTTP_HEADER1_COMPRESSED[] PROGMEM = "\x3D\x0F\xE1\x10\x98\x1D\x19\x0C\x64\x85\x50\xD0\x8F\xC3\xD0\x55\x0D\x09\x05\x7C"
"\x3C\x7C\x3D\x87\xD7\x8F\x62\x0C\x2B\xF7\x8F\x87\xB0\xF6\x1F\x87\xA0\xA7\x62\x1F"
"\x87\xA0\xD7\x56\x83\x15\x7F\xF3\xA3\xE1\xF6\x2E\x8C\x1D\x67\x3E\x7D\x90\x21\x52"
"\xEB\x1A\xCF\x87\xB0\xCF\x58\xF8\xCC\xFD\x1E\xC4\x1E\x75\x3E\xA3\xE1\xEC\x1F\xD1"
"\x28\x51\xF0\x46\x67\xA1\xB3\xAC\x7F\x44\xA1\x47\x56\xF6\xD6\xD8\x47\x5F\x83\xB0"
"\x99\xF0\xE4\x3A\x88\x5F\x9F\xCE\xBF\x07\x61\x58\xE0\x99\xF3\xB0\xF6\x1D\x87\xE1"
"\xE8\x16\xF1\xA2\xFB\x08\xF8\x7D\xE8\x79\xC7\xDA\x15\xF6\x60\xF8\x7D\x89\x75\x67"
"\x9E\x8D\xB1\xE6\x76\x1B\x0E\xBD\x0F\x38\xF0\x3A\xFC\xCE\x76\x1D\x44\x45\x77\x63"
"\xAE\xDD\xB1\xD7\x77\x6E\xC7\x5D\x96\x15\x91\xA8\xAC\xAC\x8C\x0F\x15\x95\x95\x90"
"\x63\xC4\x57\x77\x66\xAB\xBB\xBD\xB2\x37\xA0\x11\x3B\x1D\x64\x6F\x44\x22\x64\x08"
"\x91\x8D\xE9\x44\x21\xD8\x91\xE9\x5B\x41\x33\xF0\xFA\xF2\x3A\xD1\xF5\xE3\xD0\xEC"
"\x04\x19\x67\xA7\x83\xFE\x8C\xA3\xF0\xCE\xFE\x8D\x87\xCE\x16\x10\x47\x50\x54\x75"
"\x56\x1D\x54\x30\xEA\x18\x19\xF0\xFB\x3E\xCF\x0C\x71\xF3\xC7\xC3\xF0\x4C\x0C\x58"
"\xD7\xD4\x74\x1E\x74\x4C\x26\x35\xF5\x10\xE3\x22\xD1\x0E\xEF\x8E\xF1\xE0\xD5\xE0"
"\x48\xBA\x6A\x16\xFE\x64\x5E\x61\x30\xEB\x3E\x77\x7C\x77\x8F\x1E\x18\x7C\xD3\xE1"
"\xF8\xC7\x1D\xDD\x3B\xC7\x4A\x32\x18\xCF\x87\x74\x11\xA4\x1F\x0F\x87\xDD\x33\x65"
"\x1F\x67\x68\xFB\x19\x7E\xF0\xFE\x7C\x43\xEC\xF3\x04\x19\xC7\x78\xF0\x3E\x11\xF0"
"\xC1\xF0\xFC\x1F\xDE\x13\x07\xCE\x96\x20\x84\xCC\xDF\x51\x05\xBE\xA7\xCF\xE7\x74"
"\xFB\x0B\x2C\x43\xEC\xEA\x30\x77\x8F\x06";
"\xE8\x16\xF1\xA2\xFB\x08\xF8\x7B\x34\x3C\xE3\xD8\x85\x7D\x98\x3E\x1E\xC1\x2E\xAC"
"\xF3\xD1\xB6\x3C\xCE\xC3\x61\xD7\xA1\xE7\x1E\x07\x5F\x99\xCE\xC3\xA8\x88\xAE\xEC"
"\x75\xDB\xB6\x3A\xEE\xED\xD8\xEB\xB2\xC2\xB2\x35\x15\x95\x91\x81\xE2\xB2\xB2\xB2"
"\x0C\x78\x8A\xEE\xEC\xD5\x77\x77\xB6\x46\xF4\x02\x27\x63\xAC\x8D\xE8\x84\x4C\x81"
"\x12\x31\xBD\x28\x84\x3B\x0E\xC3\xB0\xE7\xC8\xAC\x7C\x88\x68\x97\x7A\x1D\x90\xF0"
"\x29\x60\x46\xF6\x22\x6D\x04\x28\x84\x43\x86\xD0\xDA\x20\x41\xD7\x08\x68\xF9\x0D"
"\x1F\x21\xA3\xE5\x65\x65\x65\x65\xA3\xE5\x66\xD2\x2B\x13\x6E\xEE\xC8\xC8\xAC\x84"
"\x21\xA5\x65\xA3\xE4\x57\x76\x23\xB1\xA4\x3E\x45\x75\x77\x76\x34\x87\x8A\xCD\xA5"
"\x64\x19\x0D\x2B\x2B\x36\x15\x9A\xC9\x90\x84\x34\x87\x10\xD1\xE2\x66\xD2\x1A\x46"
"\xA2\x1A\x6C\x21\xA6\xC2\x1A\x3E\x4C\xDA\x4C\xDA\x4C\x84\x21\xA6\xD2\x1A\x3E\x4C"
"\xDA\x4C\x87\x10\xD3\x61\x59\x51\x0D\x23\x51\x33\x69\x13\xBB\xA1\xA6\xAB\xB6\x46"
"\xD2\x65\x60\x83\x08\x10\x63\x15\x90\xE2\x1A\x6C\x04\x28\xC5\x65\x65\x44\x34\x10"
"\xE3\x02\x1D\xA3\x7B\x31\x3D\x87\xE1\xE9\x5B\x41\x33\xF0\xFA\xF2\x3A\xD1\xF5\xE3"
"\xD0\xEC\x04\x19\x67\xA7\x83\xFE\x8C\xA3\xF0\xCE\xFE\x8D\x87\xCE\x16\x10\x47\x50"
"\x54\x75\x56\x1D\x54\x30\xEA\x18\x19\xF0\xFB\x3E\xCF\x0C\x71\xF3\xC7\xC3\xF0\x4C"
"\x0C\x58\xD7\xD4\x74\x1E\x74\x4C\x26\x35\xF5\x10\xE3\x22\xD1\x0E\xEF\x8E\xF1\xE0"
"\xD5\xE0\x48\xBA\x6A\x16\xFE\x64\x5E\x61\x30\xEB\x3E\x77\x7C\x77\x8F\x1E\x18\x7C"
"\xD3\xE1\xF8\xC7\x1D\xDD\x3B\xC7\x4A\x32\x18\xCF\x87\x74\x11\xA4\x1F\x0F\x87\xDD"
"\x33\x65\x1F\x67\x68\xFB\x19\x7E\xF0\xFE\x7C\x43\xEC\xF3\x04\x19\xC7\x78\xF0\x3E"
"\x11\xF0\xC1\xF0\xFC\x1F\xDE\x13\x07\xCE\x96\x20\x84\xCC\xDF\x51\x05\xBE\xA7\xCF"
"\xE7\x74\xFB\x0B\x2C\x43\xEC\xEA\x30\x77\x8F\x06";
#define HTTP_HEADER1 Decompress(HTTP_HEADER1_COMPRESSED,HTTP_HEADER1_SIZE).c_str()

View File

@ -2,26 +2,34 @@
// compressed by tools/unishox/compress-html-uncompressed.py
/////////////////////////////////////////////////////////////////////
const size_t HTTP_HEADER1_SIZE = 559;
const size_t HTTP_HEADER1_SIZE = 899;
const char HTTP_HEADER1_COMPRESSED[] PROGMEM = "\x3D\x0F\xE1\x10\x98\x1D\x19\x0C\x64\x85\x50\xD0\x8F\xC3\xD0\x55\x0D\x09\x05\x7C"
"\x3C\x7C\x3D\x87\xD7\x8F\x62\x0C\x2B\xF7\x8F\x87\xB0\xF6\x1F\x87\xA0\xA7\x62\x1F"
"\x87\xA0\xD7\x56\x83\x15\x7F\xF3\xA3\xE1\xF6\x2E\x8C\x1D\x67\x3E\x7D\x90\x21\x52"
"\xEB\x1A\xCF\x87\xB0\xCF\x58\xF8\xCC\xFD\x1E\xC4\x1E\x75\x3E\xA3\xE1\xEC\x1F\xD1"
"\x28\x51\xF0\x46\x67\xA1\xB3\xAC\x7F\x44\xA1\x47\x56\xF6\xD6\xD8\x47\x5F\x83\xB0"
"\x99\xF0\xE4\x3A\x88\x5F\x9F\xCE\xBF\x07\x61\x58\xE0\x99\xF3\xB0\xF6\x1D\x87\xE1"
"\xE8\x16\xF1\xA2\xFB\x08\xF8\x7D\xE8\x79\xC7\xDA\x15\xF6\x60\xF8\x7D\x89\x75\x67"
"\x9E\x8D\xB1\xE6\x76\x1B\x0E\xBD\x0F\x38\xF0\x3A\xFC\xCE\x76\x1D\x44\x45\x77\x63"
"\xAE\xDD\xB1\xD7\x77\x6E\xC7\x5D\x96\x15\x91\xA8\xAC\xAC\x8C\x0F\x15\x95\x95\x90"
"\x63\xC4\x57\x77\x66\xAB\xBB\xBD\xB2\x37\xA0\x11\x3B\x1D\x64\x6F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"
"\x12\x31\xBD\x28\x84\x3B\x0E\xC3\xB0\xE7\xC8\xAC\x7C\x88\x68\x97\x7A\x1D\x90\xF0"
"\x29\x60\x46\xF6\x22\x6D\x04\x28\x84\x43\x86\xD0\xDA\x20\x41\xD7\x08\x68\xF9\x0D"
"\x1F\x21\xA3\xE5\x65\x65\x65\x65\xA3\xE5\x66\xD2\x2B\x13\x6E\xEE\xC8\xC8\xAC\x84"
"\x21\xA5\x65\xA3\xE4\x57\x76\x23\xB1\xA4\x3E\x45\x75\x77\x76\x34\x87\x8A\xCD\xA5"
"\x64\x19\x0D\x2B\x2B\x36\x15\x9A\xC9\x90\x84\x34\x87\x10\xD1\xE2\x66\xD2\x1A\x46"
"\xA2\x1A\x6C\x21\xA6\xC2\x1A\x3E\x4C\xDA\x4C\xDA\x4C\x84\x21\xA6\xD2\x1A\x3E\x4C"
"\xDA\x4C\x87\x10\xD3\x61\x59\x51\x0D\x23\x51\x33\x69\x13\xBB\xA1\xA6\xAB\xB6\x46"
"\xD2\x65\x60\x83\x08\x10\x63\x15\x90\xE2\x1A\x6C\x04\x28\xC5\x65\x65\x44\x34\x10"
"\xE3\x02\x1D\xA3\x7B\x31\x3D\x87\xE1\xE9\x5B\x41\x33\xF0\xFA\xF2\x3A\xD1\xF5\xE3"
"\xD0\xEC\x04\x19\x67\xA7\x83\xFE\x8C\xA3\xF0\xCE\xFE\x8D\x87\xCE\x16\x10\x47\x50"
"\x54\x75\x56\x1D\x54\x30\xEA\x18\x19\xF0\xFB\x3E\xCF\x06\x05\xF0\x75\xB9\xC9\x8E"
"\x3B\xBE\x3B\xC7\xB7\xEE\x85\xFF\x90\x98\x18\xB1\xAF\xA8\xE8\x3C\xE8\x98\x4C\x6B"
"\xEA\x21\xC6\x45\xA2\x1D\xDF\x1D\xE3\xC1\xEE\x04\x4C\x38\xD5\xE0\x4F\xC3\x8D\x42"
"\xDF\xCC\x8B\xCC\x26\x1D\x67\xC1\x27\x0D\xF0\xC3\xBB\xA7\x78\xF6\xB1\xC7\x77\x4E"
"\xF1\xD2\x8C\x86\x33\xE1\xDD\x04\x69\x07\xC3\xE1\xF7\x4C\xD9\x47\xD9\xDA\x3E\xC6"
"\x5F\xBC\x3F\x9F\x10\xFB\x3C\xC1\x06\x70\x23\xE3\xE3\xE1\x1D\xD3\x07\x78\xF6\x8F"
"\xEF\x09\x83\xE7\x4B\x10\x42\x66\x6F\xA8\x82\xDF\x53\xE7\xF3\xBA\x7D\x85\x96\x21"
"\xF6\x75\x18\x3B\xC7\x83\xDC";
#define HTTP_HEADER1 Decompress(HTTP_HEADER1_COMPRESSED,HTTP_HEADER1_SIZE).c_str()

View File

@ -3,7 +3,7 @@ const char HTTP_HEADER1[] PROGMEM =
"<head>"
"<meta charset='utf-8'>"
"<meta name=\"viewport\" content=\"width=device-width,initial-scale=1,user-scalable=no\"/>"
"<link rel='icon' href='data:image/x-icon;base64,AAABAAEAEBAAAAEABAAoAQAAFgAAACgAAAAQAAAAIAAAAAEABAAAAAAAAAEAAAAAAAAAAAAAAAAAAAAAAAD///8AwMDAAICAgAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAzAAAAAAABMTMTEAAAAAMwMwMwAAAAIwAzADIAAAAyADMAIwAAADEAMwATAAAAMgAzACMAAxAjEDMBMgEzMQMxMxMwEzEzEDMzMwEzEBMxATMQEzEAATMQAAEzEAAAEzEAEzEAAAABMxEzEAAAAAATMzEAAAAAAAEzEAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA'>"
"<link rel=\"icon\" href=\"data:image/x-icon;base64,AAABAAEAEBAAAAEABAAoAQAAFgAAACgAAAAQAAAAIAAAAAEABAAAAAAAAAEAAAAAAAAAAAAAAAAAAAAAAAD///8AwMDAAICAgAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAzAAAAAAABMTMTEAAAAAMwMwMwAAAAIwAzADIAAAAyADMAIwAAADEAMwATAAAAMgAzACMAAxAjEDMBMgEzMQMxMxMwEzEzEDMzMwEzEBMxATMQEzEAATMQAAEzEAAAEzEAEzEAAAABMxEzEAAAAAATMzEAAAAAAAEzEAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA\">"
"<title>%s - %s</title>"
"<script>"

View File

@ -3,7 +3,7 @@ const char HTTP_HEADER1[] PROGMEM =
"<head>"
"<meta charset='utf-8'>"
"<meta name=\"viewport\" content=\"width=device-width,initial-scale=1,user-scalable=no\"/>"
"<link rel='icon' href='data:image/x-icon;base64,AAABAAEAEBAAAAEABAAoAQAAFgAAACgAAAAQAAAAIAAAAAEABAAAAAAAAAEAAAAAAAAAAAAAAAAAAAAAAAD///8AwMDAAICAgAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAzAAAAAAABMTMTEAAAAAMwMwMwAAAAIwAzADIAAAAyADMAIwAAADEAMwATAAAAMgAzACMAAxAjEDMBMgEzMQMxMxMwEzEzEDMzMwEzEBMxATMQEzEAATMQAAEzEAAAEzEAEzEAAAABMxEzEAAAAAATMzEAAAAAAAEzEAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA'>"
"<link rel=\"icon\" href=\"data:image/x-icon;base64,AAABAAEAEBAAAAEABAAoAQAAFgAAACgAAAAQAAAAIAAAAAEABAAAAAAAAAEAAAAAAAAAAAAAAAAAAAAAAAD///8AwMDAAICAgAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAzAAAAAAABMTMTEAAAAAMwMwMwAAAAIwAzADIAAAAyADMAIwAAADEAMwATAAAAMgAzACMAAxAjEDMBMgEzMQMxMxMwEzEzEDMzMwEzEBMxATMQEzEAATMQAAEzEAAAEzEAEzEAAAABMxEzEAAAAAATMzEAAAAAAAEzEAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA\">"
"<title>%s - %s</title>"
"<script>"