resize image sizes; add check for images that are too small

This commit is contained in:
Pieter Vander Vennet 2022-05-14 20:11:59 +02:00
parent afbb572340
commit 6e7de538a7
7 changed files with 102 additions and 119 deletions

View file

@ -1,12 +1,12 @@
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
<svg
width="374"
height="374"
viewBox="0 0 374 374"
width="500"
height="500"
viewBox="0 0 500 500"
version="1.1"
id="svg9"
sodipodi:docname="telescope.svg"
inkscape:version="1.1.1 (1:1.1+202109281949+c3084ef5ed)"
inkscape:version="1.1.2 (1:1.1+202202050950+0a00cf5339)"
xmlns:inkscape="http://www.inkscape.org/namespaces/inkscape"
xmlns:sodipodi="http://sodipodi.sourceforge.net/DTD/sodipodi-0.dtd"
xmlns="http://www.w3.org/2000/svg"
@ -24,11 +24,12 @@
showgrid="false"
inkscape:zoom="0.55505638"
inkscape:cx="-104.49389"
inkscape:cy="272.04443"
inkscape:current-layer="svg9" />
inkscape:cy="272.04444"
inkscape:current-layer="svg9"
width="500px" />
<g
id="surface1"
transform="translate(0,15.499046)">
transform="matrix(1.3399859,0,0,1.3399859,-0.73371278,26.823214)">
<path
style="fill:#7f7f7f;fill-opacity:1;fill-rule:nonzero;stroke:none"
d="m 293.47266,24.730469 c -0.56641,-1.410157 -1.69922,-2.511719 -3.1211,-3.035157 -1.42187,-0.511718 -3.0039,-0.417968 -4.33594,0.289063 L 158.78906,89.125 c -2.39453,1.257812 -3.46094,4.113281 -2.48828,6.636719 l 2.61719,6.847661 -73.441408,40.28124 c -2.40625,1.31641 -3.421874,4.22266 -2.375,6.73438 l 2.4375,5.86719 -77.996093,37.27734 c -2.5625,1.23047 -3.71875,4.24219 -2.628907,6.87109 l 16.007813,38.58204 c 0.855469,2.05468 2.832031,3.30468 4.9375,3.30468 0.597656,0 1.195313,-0.0977 1.785156,-0.30859 l 81.476559,-28.86719 2.4375,5.86719 c 0.84375,2.03906 2.82032,3.30078 4.9375,3.30078 0.49219,0 0.98438,-0.0625 1.48438,-0.21484 l 77.75,-22.41016 2.32812,6.08203 c 0.79297,2.10547 2.8125,3.42969 4.96875,3.42969 0.52344,0 1.04688,-0.0742 1.57032,-0.23438 l 138.91406,-42.75 c 1.43359,-0.4375 2.60937,-1.45312 3.25,-2.80078 0.64062,-1.34765 0.69531,-2.90625 0.14062,-4.28515 z M 28.851562,229.44922 16.734375,200.23047 l 72.90625,-34.85156 15.378905,37.08593 z m 90.730468,-19.72656 -2.54297,-6.13672 -19.691404,-47.50391 -2.542968,-6.125 67.703122,-37.14062 25.36719,65.55859 4.00781,10.48437 z m 86.65234,-13.23438 -2.16796,-5.67187 c -0.0352,-0.1211 -0.0117,-0.25782 -0.0664,-0.375 L 197.39844,173.37109 167.96875,96.359375 285.75781,34.210938 334.82422,156.90234 Z m 0,0"

Before

Width:  |  Height:  |  Size: 3.6 KiB

After

Width:  |  Height:  |  Size: 3.6 KiB

Before After
Before After