Use new icon (#1244)

This commit is contained in:
Jonathan Zernik 2021-09-09 14:32:19 -07:00 committed by GitHub
parent 8a759b010b
commit 6c1475995b
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
6 changed files with 154 additions and 2 deletions

View file

@ -3,4 +3,4 @@ graft squeaknode/admin/webapp/templates
graft squeaknode/admin/webapp/static
include squeaknode/db/alembic.ini
graft squeaknode/db/alembic
include squeaknode/admin/default_profile_image.jpg
include squeaknode/admin/icon.png

Binary file not shown.

Before

Width:  |  Height:  |  Size: 84 KiB

BIN
squeaknode/admin/icon.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 39 KiB

150
squeaknode/admin/icon.svg Normal file
View file

@ -0,0 +1,150 @@
<svg width="256" height="256" viewBox="0 0 256 256" fill="none" xmlns="http://www.w3.org/2000/svg">
<rect width="256" height="256" fill="url(#paint0_linear)"/>
<path d="M39 65.8341C57.7619 60.416 78.2882 65.1958 69.345 87.5823C62.6605 104.316 43.2205 129.164 40.7441 152.453C37.8917 179.258 56.498 192.382 77.7019 189.557C85.7322 188.488 89.4777 179.664 94.2969 171.619C97.8741 165.639 84.0969 159.524 75.3393 163.024V163.024C70.77 174.547 50.9811 177.187 50.6224 156.701C50.286 137.662 66.5841 110.201 74.4536 93.0496C83.8478 72.5728 72.6289 62.001 56.6553 62.0001C51.1209 62.0001 45.017 63.2687 39 65.8341Z" fill="url(#paint1_linear)"/>
<path d="M39 65.8381C57.7621 60.4202 78.2882 65.1998 69.345 87.5862C62.6605 104.32 43.2205 129.168 40.7441 152.457C37.8917 179.262 56.498 192.386 77.7019 189.561C80.9823 189.125 83.5477 187.394 85.7619 184.949C80.579 183.549 75.0746 182.493 69.34 181.919C46.0828 179.588 42.2334 161.806 46.6394 143.479C51.4289 123.542 68.9145 101.376 73.6817 85.0653C80.4133 62.0159 54.3877 59.7126 39 65.8381Z" fill="url(#paint2_linear)"/>
<path d="M74.4734 164.801C71.8016 169.412 66.5693 172.17 61.6833 171.886V171.888C61.6833 171.888 66.4307 186.096 51.9633 183.58C58.7765 188.788 67.9646 190.855 77.7019 189.559C85.1756 188.565 88.9384 180.849 93.3098 173.298C87.2413 169.404 80.3366 166.569 74.4734 164.801Z" fill="url(#paint3_linear)"/>
<path d="M177.507 108.653C180.97 113.633 187.865 117.668 199.772 118.539C200.539 109.057 200.707 97.5133 193.476 90.2202C191.071 87.7953 188.433 86.756 185.909 86.7562C177.482 86.7562 170.341 98.3483 177.507 108.653Z" fill="url(#paint4_linear)"/>
<path d="M199.772 118.539C187.865 117.668 180.97 113.633 177.507 108.653C172.294 101.155 174.654 92.9762 179.573 89.0773C179.595 89.1441 183.382 100.95 199.844 105.247C200.336 109.715 200.113 114.331 199.772 118.539Z" fill="url(#paint5_linear)"/>
<path d="M188.375 116.33C183.162 114.497 179.666 111.758 177.507 108.654C172.885 102.006 174.217 94.8244 178.006 90.5618C184.253 94.9827 188.461 104.193 188.375 116.33Z" fill="url(#paint6_linear)"/>
<path d="M60.7111 151.187C60.7111 158.915 62.0591 166.332 64.5011 173.224L64.892 173.209C63.5585 169.622 74.7307 172.507 74.7307 161.349C74.7307 150.192 72.665 140.989 90.9249 140.989C109.185 140.989 128.556 143.426 128.556 161.686V182.607C136.927 176.74 145.287 172.959 153.225 170.626C153.186 170.602 153.416 170.122 153.376 170.1C121.789 152.859 141.702 98.0321 128.892 85.2222C128.167 85.1974 127.44 85.1851 126.71 85.1851C90.2594 85.1851 60.7111 114.736 60.7111 151.187Z" fill="url(#paint7_linear)"/>
<path d="M128.556 161.686C128.556 143.426 109.185 140.989 90.9249 140.989C90.0318 140.989 89.1882 141.011 88.3891 141.056C94.8807 129.221 107.901 116.312 133.941 113.818C134.003 134.401 133.842 159.437 153.376 170.1C153.416 170.122 153.186 170.602 153.225 170.627C145.287 172.959 136.927 176.74 128.556 182.607V161.686Z" fill="url(#paint8_linear)"/>
<path d="M128.892 85.2225C141.702 98.0324 121.789 152.859 153.376 170.1C153.416 170.122 153.186 170.602 153.225 170.627C151.382 171.169 149.517 171.787 147.634 172.492C113.156 143.367 128.892 85.2225 128.892 85.2225Z" fill="url(#paint9_linear)"/>
<path d="M128.556 161.686C128.556 143.426 109.185 140.989 90.9249 140.989C72.665 140.989 74.7307 150.192 74.7307 161.349C74.7307 172.506 63.5585 169.622 64.892 173.209L64.5728 173.222C64.2933 172.531 64.0335 171.831 63.796 171.121C63.5635 170.389 63.3433 169.652 63.1355 168.91C62.4923 166.448 62.1113 163.88 62.0247 161.231C61.3864 142.011 76.4525 125.911 95.6748 125.275C130.458 124.119 136.865 159.38 132.583 179.943C131.242 180.779 129.899 181.665 128.556 182.607V161.686Z" fill="url(#paint10_linear)"/>
<path d="M156.531 111.654C153.851 116.212 152.283 120.773 151.058 126.723C147.392 144.543 163.465 156.882 183.932 159.542C187.865 160.052 191.051 159.878 193.263 157.498C194.992 155.641 194.458 154.646 197.083 153.906C201.622 152.624 205.714 155.978 206.268 159.332C206.776 162.405 204.315 165.478 196.506 164.984C194.379 164.851 192.479 164.556 190.371 164.774C189.023 164.912 188.073 167.533 186.71 167.995C195.121 171.246 208.844 173.425 216.934 172.572C217.839 142.682 209.742 106.33 177.24 98.3472C173.187 97.3527 168.734 96.7565 163.841 96.6157C165.733 97.9069 154.786 110.18 156.531 111.654Z" fill="url(#paint11_linear)"/>
<path d="M193.815 156.84C193.659 157.048 193.478 157.266 193.263 157.498C191.052 159.878 187.865 160.051 183.932 159.542C163.465 156.882 147.392 144.543 151.058 126.723C152.283 120.773 153.851 116.211 156.531 111.654C154.786 110.18 165.734 97.9069 163.841 96.6155C166.513 96.6922 169.053 96.9049 171.468 97.2439C172.792 101.939 173.499 104.878 173.499 104.878L187.902 123.138C187.902 123.138 182.017 141.287 193.815 156.84ZM216.934 172.572C208.844 173.425 195.121 171.246 186.71 167.995C188.073 167.533 189.023 164.912 190.371 164.774C192.479 164.556 194.379 164.851 196.506 164.984C198.644 165.121 200.381 164.987 201.766 164.658C205.757 167.646 210.731 170.35 216.934 172.572Z" fill="url(#paint12_linear)"/>
<path d="M190.111 103.649C209.772 115.635 216.402 141.289 216.958 164.876C217.018 167.439 217.01 170.007 216.934 172.572C212.688 173.02 206.894 172.631 201.13 171.694C202.221 169.057 203.122 166.454 203.852 163.899C204.643 163.475 205.229 162.953 205.63 162.375H205.628C206.701 160.821 206.474 158.847 205.42 157.165C210.333 129.768 196.477 108.696 190.111 103.649Z" fill="url(#paint13_linear)"/>
<path d="M177.24 98.3463C180.344 99.1108 183.226 100.133 185.898 101.384C188.132 107.208 189.003 114.627 187.902 123.137C173.61 125.453 160.33 119.691 156.419 110.652C157.302 107.307 165.501 97.7452 163.841 96.6146C168.734 96.7556 173.187 97.3516 177.24 98.3463Z" fill="url(#paint14_linear)"/>
<path d="M186.71 167.991C186.732 167.984 186.752 167.977 186.774 167.969V167.967C186.794 167.959 186.816 167.952 186.836 167.942H186.838C187.937 167.455 189.149 165.525 190.272 164.786C190.304 164.781 190.337 164.776 190.371 164.77C192.479 164.553 194.379 164.847 196.506 164.981C201.613 165.305 204.433 164.1 205.63 162.371C205.343 162.354 205.056 162.341 204.767 162.331C208.112 158.586 202.921 151.755 196.749 153.499C194.122 154.239 195.329 153.821 193.6 155.682C191.388 158.059 188.065 160.686 184.134 160.177C163.668 157.519 147.392 144.539 151.058 126.719C152.283 120.77 153.851 116.208 156.531 111.651C154.786 110.176 165.734 97.9031 163.841 96.612C166.849 96.6983 169.689 96.9584 172.374 97.374L175.718 100.201L172.814 103.69C170.162 106.874 163.67 109.531 162.3 113.435C158.727 128.57 163.552 143.366 172.673 150.197C176.675 153.195 181.079 154.286 184.181 154.219C190.539 154.078 191.281 146.694 197.521 144.932C204.705 142.904 210.299 149.21 211.632 155.696C212.246 158.69 212.04 161.898 210.731 164.687C208.72 168.969 204.863 171.054 200.549 171.594C195.524 170.743 190.559 169.481 186.71 167.992V167.991Z" fill="url(#paint15_linear)"/>
<path d="M163.638 174.304C173.177 175.418 180.807 170.309 186.71 167.993C188.073 167.531 189.426 167.264 190.774 167.125C192.882 166.907 194.983 166.999 197.11 167.135C205.023 167.635 207.698 162.894 207.363 158.153C207.008 153.111 203.247 148.068 198.765 149.333C196.138 150.075 194.386 152.007 192.657 153.867C190.445 156.247 188.268 158.503 184.335 157.994C157.171 154.466 153.648 119.557 169.301 100.765C167.557 99.2905 165.733 97.9051 163.841 96.6139C163.388 96.3044 162.928 96.0002 162.465 95.7008C152.733 89.4171 141.242 85.6246 128.892 85.2238C123.301 110.893 127.606 170.096 163.638 174.304Z" fill="url(#paint16_linear)"/>
<path d="M146.395 88.1705C152.127 89.9591 157.522 92.5072 162.466 95.6986C162.928 95.9979 163.388 96.3022 163.841 96.6114C165.734 97.9028 167.557 99.2882 169.301 100.763C153.648 119.554 157.171 154.464 184.335 157.992C188.268 158.501 190.445 156.245 192.657 153.865C194.386 152.005 196.138 150.073 198.765 149.33C207.461 146.876 213.44 168.164 197.11 167.133C194.982 166.997 192.882 166.905 190.774 167.123C190.549 167.145 190.322 167.172 190.096 167.204C189.74 167.17 189.394 167.167 189.063 167.204C141.759 172.565 138.407 120.475 146.395 88.1705Z" fill="url(#paint17_linear)"/>
<path d="M168.212 99.8647C168.578 100.162 168.942 100.461 169.301 100.765C153.648 119.557 157.171 154.466 184.335 157.994C188.268 158.504 190.445 156.248 192.657 153.868C194.386 152.007 196.138 150.075 198.765 149.333C207.461 146.879 213.44 168.167 197.11 167.135C194.982 166.999 192.882 166.908 190.774 167.125C189.426 167.264 188.073 167.531 186.71 167.994C189.97 166.833 191.754 166.257 197.145 166.598C200.682 166.821 204.465 166.01 206.105 162.517C206.941 160.733 207.016 158.635 206.625 156.725C206.298 155.134 205.62 153.541 204.633 152.247C203.78 151.132 202.625 150.157 201.239 149.808C200.462 149.613 199.68 149.635 198.911 149.85C196.427 150.553 194.743 152.416 193.05 154.234C191.935 155.434 190.777 156.666 189.357 157.512C187.766 158.462 186.101 158.766 184.266 158.526C177.094 157.596 170.827 154.4 166.295 148.702C162.466 143.885 160.38 137.904 159.709 131.828C159.358 128.654 159.39 125.433 159.761 122.264C160.142 119.04 160.877 115.851 161.953 112.788C163.47 108.479 165.672 104.392 168.547 100.837C168.351 100.671 168.247 100.332 168.212 99.8647ZM162.329 174.119C127.507 168.642 123.37 110.577 128.892 85.2241C127.853 90.1522 127.504 99.5209 127.422 104.716C127.304 112.479 127.85 120.356 129.122 128.015C132.15 146.243 141.625 170.75 162.329 174.119Z" fill="url(#paint18_linear)"/>
<path d="M159.566 93.9359C160.551 94.4999 161.516 95.0912 162.466 95.7022C162.928 96.0016 163.388 96.3059 163.841 96.6151C165.734 97.9065 167.557 99.2919 169.301 100.766C165.419 105.425 162.72 111.075 161.265 116.99C154.665 111.389 152.671 102.886 159.566 93.9359Z" fill="url(#paint19_linear)"/>
<path d="M62.4331 161.687C62.4331 179.672 76.7939 194.303 94.6753 194.738H96.3131H147.278C147.278 194.738 148.327 182.876 135.584 182.611C135.438 182.608 128.704 182.608 128.556 182.608C133.664 163.401 129.082 128.623 95.4942 128.623C77.2343 128.623 62.4331 143.427 62.4331 161.687Z" fill="url(#paint20_linear)"/>
<path d="M146.9 190.812C147.431 192.987 147.278 194.738 147.278 194.738H96.3132H94.6752C80.2971 194.389 68.1997 184.862 64.0064 171.793C64.0064 171.793 72.8828 188.682 95.0614 189.689L146.9 190.812Z" fill="url(#paint21_linear)"/>
<path d="M95.4942 128.622C129.082 128.622 133.664 163.4 128.556 182.607C128.353 166.863 121.673 156.463 112.69 150.795C110.956 154.123 103.559 156.624 94.7001 156.624C85.4971 156.624 77.8726 153.925 76.5342 150.405C69.4613 154.778 64.4343 162.027 64.0063 171.791C62.9846 168.605 62.4329 165.211 62.4329 161.686C62.4329 143.426 77.2343 128.622 95.4942 128.622Z" fill="url(#paint22_linear)"/>
<path d="M95.4942 128.623C129.082 128.623 133.664 163.401 128.556 182.609C130.183 174.761 130.23 164.47 128.541 156.66C127.43 151.522 125.498 146.49 122.485 142.158C116.094 132.967 106.471 129.177 95.4942 129.177C77.5386 129.177 62.9845 143.731 62.9845 161.687C62.9845 179.323 77.0438 194.311 94.6753 194.738C76.7939 194.303 62.4329 179.672 62.4329 161.687C62.4329 143.427 77.2343 128.623 95.4942 128.623Z" fill="url(#paint23_linear)"/>
<path d="M163.68 116.205C167.797 120.661 175.988 123.914 187.902 123.137C187.264 114.488 185.876 105.167 180.134 98.2915C177.175 94.7459 173.904 93.2828 170.852 93.2831C161.649 93.2831 154.427 106.582 163.68 116.205Z" fill="url(#paint24_linear)"/>
<path d="M159.455 107.514C158.334 96.6758 170.785 87.0894 180.134 98.2912C185.876 105.166 187.264 114.488 187.902 123.137C181.945 97.7569 160.936 92.5716 159.455 107.514Z" fill="url(#paint25_linear)"/>
<path d="M187.902 123.137C175.988 123.914 167.797 120.661 163.68 116.205C160.558 112.957 159.314 109.291 159.388 105.857C164.279 119.149 186.964 120.611 186.079 110.614C187.118 114.716 187.596 119.003 187.902 123.137Z" fill="url(#paint26_linear)"/>
<path d="M194.013 131.691C191.878 131.691 190.148 133.421 190.148 135.556C190.148 137.691 191.878 139.42 194.013 139.42C196.148 139.42 197.877 137.691 197.877 135.556C197.877 133.421 196.148 131.691 194.013 131.691Z" fill="url(#paint27_linear)"/>
<path d="M190.955 134.816C190.955 136.95 192.685 138.68 194.819 138.68C196.953 138.68 198.683 136.95 198.683 134.816C198.683 132.681 196.953 130.951 194.819 130.951C192.685 130.951 190.955 132.681 190.955 134.816Z" fill="url(#paint28_linear)"/>
<path d="M191.87 131.647C192.589 131.647 193.172 132.23 193.172 132.949C193.172 133.667 192.589 134.25 191.87 134.25C191.152 134.25 190.569 133.667 190.569 132.949C190.569 132.23 191.152 131.647 191.87 131.647Z" fill="white"/>
<defs>
<linearGradient id="paint0_linear" x1="128" y1="0" x2="128" y2="256" gradientUnits="userSpaceOnUse">
<stop stop-color="#F5D359"/>
<stop offset="1" stop-color="#E06D53"/>
</linearGradient>
<linearGradient id="paint1_linear" x1="93.8733" y1="-15.8846" x2="-58.6745" y2="93.3386" gradientUnits="userSpaceOnUse">
<stop stop-color="#F5C451"/>
<stop offset="1" stop-color="#884620"/>
</linearGradient>
<linearGradient id="paint2_linear" x1="62.3809" y1="189.938" x2="62.3809" y2="62.9334" gradientUnits="userSpaceOnUse">
<stop stop-color="#8C5E45"/>
<stop offset="1" stop-color="#C2732D"/>
</linearGradient>
<linearGradient id="paint3_linear" x1="72.6365" y1="189.936" x2="72.6365" y2="164.801" gradientUnits="userSpaceOnUse">
<stop stop-color="#8C5E45"/>
<stop offset="1" stop-color="#C2732D"/>
</linearGradient>
<linearGradient id="paint4_linear" x1="199.67" y1="67.4072" x2="161.121" y2="118.237" gradientUnits="userSpaceOnUse">
<stop stop-color="#F5C451"/>
<stop offset="1" stop-color="#884620"/>
</linearGradient>
<linearGradient id="paint5_linear" x1="187.348" y1="118.539" x2="187.348" y2="89.0773" gradientUnits="userSpaceOnUse">
<stop stop-color="#8C5E45"/>
<stop offset="1" stop-color="#C2732D"/>
</linearGradient>
<linearGradient id="paint6_linear" x1="181.471" y1="116.33" x2="181.471" y2="90.5618" gradientUnits="userSpaceOnUse">
<stop stop-color="#8C5E45"/>
<stop offset="1" stop-color="#C2732D"/>
</linearGradient>
<linearGradient id="paint7_linear" x1="151.716" y1="25.8754" x2="40.1938" y2="199.775" gradientUnits="userSpaceOnUse">
<stop stop-color="#F5C451"/>
<stop offset="1" stop-color="#884620"/>
</linearGradient>
<linearGradient id="paint8_linear" x1="120.885" y1="182.607" x2="120.885" y2="113.818" gradientUnits="userSpaceOnUse">
<stop stop-color="#8C5E45"/>
<stop offset="1" stop-color="#C2732D"/>
</linearGradient>
<linearGradient id="paint9_linear" x1="139.345" y1="172.492" x2="139.345" y2="85.2225" gradientUnits="userSpaceOnUse">
<stop stop-color="#8C5E45"/>
<stop offset="1" stop-color="#C2732D"/>
</linearGradient>
<linearGradient id="paint10_linear" x1="97.8798" y1="182.607" x2="97.8798" y2="125.247" gradientUnits="userSpaceOnUse">
<stop stop-color="#8C5E45"/>
<stop offset="1" stop-color="#C2732D"/>
</linearGradient>
<linearGradient id="paint11_linear" x1="215.806" y1="50.2612" x2="125.745" y2="179.136" gradientUnits="userSpaceOnUse">
<stop stop-color="#F5C451"/>
<stop offset="1" stop-color="#884620"/>
</linearGradient>
<linearGradient id="paint12_linear" x1="183.734" y1="172.758" x2="183.734" y2="96.6155" gradientUnits="userSpaceOnUse">
<stop stop-color="#8C5E45"/>
<stop offset="1" stop-color="#C2732D"/>
</linearGradient>
<linearGradient id="paint13_linear" x1="203.555" y1="172.758" x2="203.555" y2="103.649" gradientUnits="userSpaceOnUse">
<stop stop-color="#D29E4F"/>
<stop offset="1" stop-color="#CE9528"/>
</linearGradient>
<linearGradient id="paint14_linear" x1="172.398" y1="123.65" x2="172.398" y2="96.6146" gradientUnits="userSpaceOnUse">
<stop stop-color="#8C5E45"/>
<stop offset="1" stop-color="#C2732D"/>
</linearGradient>
<linearGradient id="paint15_linear" x1="181.251" y1="171.594" x2="181.251" y2="96.612" gradientUnits="userSpaceOnUse">
<stop stop-color="#8C5E45"/>
<stop offset="1" stop-color="#C2732D"/>
</linearGradient>
<linearGradient id="paint16_linear" x1="205.944" y1="30.8971" x2="101.64" y2="185.182" gradientUnits="userSpaceOnUse">
<stop stop-color="#F5C451"/>
<stop offset="1" stop-color="#884620"/>
</linearGradient>
<linearGradient id="paint17_linear" x1="175.214" y1="167.588" x2="175.214" y2="88.1705" gradientUnits="userSpaceOnUse">
<stop stop-color="#D29E4F"/>
<stop offset="1" stop-color="#CE9528"/>
</linearGradient>
<linearGradient id="paint18_linear" x1="167.131" y1="174.119" x2="167.131" y2="85.2241" gradientUnits="userSpaceOnUse">
<stop stop-color="#D29E4F"/>
<stop offset="1" stop-color="#CE9528"/>
</linearGradient>
<linearGradient id="paint19_linear" x1="162.281" y1="116.99" x2="162.281" y2="93.9359" gradientUnits="userSpaceOnUse">
<stop stop-color="#8C5E45"/>
<stop offset="1" stop-color="#C2732D"/>
</linearGradient>
<linearGradient id="paint20_linear" x1="145.774" y1="88.3728" x2="81.2054" y2="224.24" gradientUnits="userSpaceOnUse">
<stop stop-color="#F5C451"/>
<stop offset="1" stop-color="#884620"/>
</linearGradient>
<linearGradient id="paint21_linear" x1="105.652" y1="194.738" x2="105.652" y2="171.793" gradientUnits="userSpaceOnUse">
<stop stop-color="#8C5E45"/>
<stop offset="1" stop-color="#C2732D"/>
</linearGradient>
<linearGradient id="paint22_linear" x1="96.374" y1="182.607" x2="96.374" y2="128.622" gradientUnits="userSpaceOnUse">
<stop stop-color="#D29E4F"/>
<stop offset="1" stop-color="#CE9528"/>
</linearGradient>
<linearGradient id="paint23_linear" x1="96.3739" y1="194.738" x2="96.3739" y2="128.623" gradientUnits="userSpaceOnUse">
<stop stop-color="#D29E4F"/>
<stop offset="1" stop-color="#CE9528"/>
</linearGradient>
<linearGradient id="paint24_linear" x1="187.39" y1="75.0383" x2="153.091" y2="128.549" gradientUnits="userSpaceOnUse">
<stop stop-color="#F5C451"/>
<stop offset="1" stop-color="#884620"/>
</linearGradient>
<linearGradient id="paint25_linear" x1="173.643" y1="123.137" x2="173.643" y2="93.2829" gradientUnits="userSpaceOnUse">
<stop stop-color="#D29E4F"/>
<stop offset="1" stop-color="#CE9528"/>
</linearGradient>
<linearGradient id="paint26_linear" x1="173.643" y1="123.252" x2="173.643" y2="105.857" gradientUnits="userSpaceOnUse">
<stop stop-color="#8C5E45"/>
<stop offset="1" stop-color="#C2732D"/>
</linearGradient>
<linearGradient id="paint27_linear" x1="194.819" y1="126.945" x2="193.34" y2="142.741" gradientUnits="userSpaceOnUse">
<stop/>
<stop offset="1" stop-color="#5E5400"/>
</linearGradient>
<linearGradient id="paint28_linear" x1="195.626" y1="126.205" x2="194.146" y2="142.001" gradientUnits="userSpaceOnUse">
<stop/>
<stop offset="1" stop-color="#5E5400"/>
</linearGradient>
</defs>
</svg>

After

Width:  |  Height:  |  Size: 18 KiB

View file

@ -23,9 +23,11 @@ import base64
from pkg_resources import resource_stream
IMAGE_PATH = "icon.png"
def load_default_profile_image():
return resource_stream(__name__, 'default_profile_image.jpg').read()
return resource_stream(__name__, IMAGE_PATH).read()
def bytes_to_base64_string(data: bytes) -> str:

Binary file not shown.

Before

Width:  |  Height:  |  Size: 1.1 KiB

After

Width:  |  Height:  |  Size: 12 KiB

Before After
Before After