Photo Galery pixel grid fix

Resolution fix for resolutions multiples of 32. 32x32, 64x64, 96x96, 128x128, 256x256
This commit is contained in:
Luís Eduardo Ribeiro Guerra 2021-09-18 16:26:52 -03:00 committed by Valeria Fadeeva
parent 7b817d1a3b
commit aab9f15a22
2 changed files with 108 additions and 194 deletions

View File

@ -1,98 +1,55 @@
<?xml version="1.0" encoding="UTF-8" standalone="no"?> <?xml version="1.0" encoding="UTF-8"?>
<svg <svg xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" width="64" height="64" viewBox="0 0 64 64" version="1.1">
xmlns:dc="http://purl.org/dc/elements/1.1/" <defs>
xmlns:cc="http://creativecommons.org/ns#" <clipPath id="clip1">
xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" <path d="M 4 4 L 60 4 L 60 60 L 4 60 Z M 4 4 "/>
xmlns:svg="http://www.w3.org/2000/svg" </clipPath>
xmlns="http://www.w3.org/2000/svg" <clipPath id="clip2">
xmlns:sodipodi="http://sodipodi.sourceforge.net/DTD/sodipodi-0.dtd" <path d="M 6.800781 4 L 57.199219 4 C 58.746094 4 60 5.253906 60 6.800781 L 60 57.199219 C 60 58.746094 58.746094 60 57.199219 60 L 6.800781 60 C 5.253906 60 4 58.746094 4 57.199219 L 4 6.800781 C 4 5.253906 5.253906 4 6.800781 4 Z M 6.800781 4 "/>
xmlns:inkscape="http://www.inkscape.org/namespaces/inkscape" </clipPath>
width="64" <linearGradient id="linear0" gradientUnits="userSpaceOnUse" x1="1.5783" y1="1.5776" x2="30.4213" y2="30.4219" gradientTransform="matrix(2,0,0,2,0,0)">
height="64" <stop offset="0" style="stop-color:rgb(15.686275%,68.627451%,91.764706%);stop-opacity:1;"/>
version="1.1" <stop offset="1" style="stop-color:rgb(51.372549%,54.509804%,89.411765%);stop-opacity:1;"/>
viewBox="0 0 16.933 16.933" </linearGradient>
id="svg21" <clipPath id="clip3">
sodipodi:docname="accessories-image-viewer.svg" <path d="M 10 30 L 60 30 L 60 60 L 10 60 Z M 10 30 "/>
inkscape:version="1.0.1 (3bc2e813f5, 2020-09-07)"> </clipPath>
<sodipodi:namedview <clipPath id="clip4">
pagecolor="#ffffff" <path d="M 6.800781 4 L 57.199219 4 C 58.746094 4 60 5.253906 60 6.800781 L 60 57.199219 C 60 58.746094 58.746094 60 57.199219 60 L 6.800781 60 C 5.253906 60 4 58.746094 4 57.199219 L 4 6.800781 C 4 5.253906 5.253906 4 6.800781 4 Z M 6.800781 4 "/>
bordercolor="#666666" </clipPath>
borderopacity="1" <clipPath id="clip5">
objecttolerance="10" <path d="M 36 14 L 46 14 L 46 24 L 36 24 Z M 36 14 "/>
gridtolerance="10" </clipPath>
guidetolerance="10" <clipPath id="clip6">
inkscape:pageopacity="0" <path d="M 6.800781 4 L 57.199219 4 C 58.746094 4 60 5.253906 60 6.800781 L 60 57.199219 C 60 58.746094 58.746094 60 57.199219 60 L 6.800781 60 C 5.253906 60 4 58.746094 4 57.199219 L 4 6.800781 C 4 5.253906 5.253906 4 6.800781 4 Z M 6.800781 4 "/>
inkscape:pageshadow="2" </clipPath>
inkscape:window-width="1920" <clipPath id="clip7">
inkscape:window-height="935" <path d="M 4 24 L 60 24 L 60 60 L 4 60 Z M 4 24 "/>
id="namedview23" </clipPath>
showgrid="false" <clipPath id="clip8">
inkscape:zoom="4.2813106" <path d="M 6.800781 4 L 57.199219 4 C 58.746094 4 60 5.253906 60 6.800781 L 60 57.199219 C 60 58.746094 58.746094 60 57.199219 60 L 6.800781 60 C 5.253906 60 4 58.746094 4 57.199219 L 4 6.800781 C 4 5.253906 5.253906 4 6.800781 4 Z M 6.800781 4 "/>
inkscape:cx="13.888176" </clipPath>
inkscape:cy="63.350086" </defs>
inkscape:window-x="0" <g id="surface1">
inkscape:window-y="38" <g clip-path="url(#clip1)" clip-rule="nonzero">
inkscape:window-maximized="1" <g clip-path="url(#clip2)" clip-rule="nonzero">
inkscape:current-layer="svg21" /> <path style=" stroke:none;fill-rule:nonzero;fill:url(#linear0);" d="M 4 4 L 60 4 L 60 60 L 4 60 Z M 4 4 "/>
<defs </g>
id="defs7"> </g>
<linearGradient <g clip-path="url(#clip3)" clip-rule="nonzero">
id="linearGradient873" <g clip-path="url(#clip4)" clip-rule="nonzero">
x1="-48.646" <path style=" stroke:none;fill-rule:nonzero;fill:rgb(25.098039%,42.352941%,80.392157%);fill-opacity:1;" d="M 46.535156 31.527344 C 44.453125 29.492188 41.125 29.492188 39.039062 31.527344 L 10 60 L 60 60 L 60 44.726562 Z M 46.535156 31.527344 "/>
x2="-32.772" </g>
y1="-6.3007" </g>
y2="9.574" <g clip-path="url(#clip5)" clip-rule="nonzero">
gradientTransform="translate(1.0224,-0.57831)" <g clip-path="url(#clip6)" clip-rule="nonzero">
gradientUnits="userSpaceOnUse"> <path style=" stroke:none;fill-rule:nonzero;fill:rgb(100%,100%,100%);fill-opacity:1;" d="M 46 19 C 46 21.761719 43.761719 24 41 24 C 38.238281 24 36 21.761719 36 19 C 36 16.238281 38.238281 14 41 14 C 43.761719 14 46 16.238281 46 19 Z M 46 19 "/>
<stop </g>
stop-color="#28afea" </g>
offset="0" <g clip-path="url(#clip7)" clip-rule="nonzero">
id="stop2" /> <g clip-path="url(#clip8)" clip-rule="nonzero">
<stop <path style=" stroke:none;fill-rule:nonzero;fill:rgb(7.45098%,25.882353%,49.411765%);fill-opacity:1;" d="M 60 57.992188 L 27.214844 25.097656 C 26.519531 24.394531 25.570312 24 24.578125 24 C 23.589844 24 22.640625 24.394531 21.945312 25.097656 L 4 43.105469 L 4 60 L 60 60 L 60 58 L 59.996094 58 Z M 60 57.992188 "/>
stop-color="#838be4" </g>
offset="1" </g>
id="stop4" /> </g>
</linearGradient>
</defs>
<metadata
id="metadata9">
<rdf:RDF>
<cc:Work
rdf:about="">
<dc:format>image/svg+xml</dc:format>
<dc:type
rdf:resource="http://purl.org/dc/dcmitype/StillImage" />
<dc:title></dc:title>
</cc:Work>
</rdf:RDF>
</metadata>
<g
transform="matrix(0.91660823,0,0,0.91660823,44.843616,7.4962704)"
id="g19">
<rect
x="-47.624001"
y="-6.8790002"
width="15.875"
height="15.875"
ry="0.79373002"
fill="url(#linearGradient873)"
id="rect11"
style="fill:url(#linearGradient873)" />
<path
transform="scale(0.26458)"
d="m -138.37,1.3379 c -1.446,0 -2.892,0.55411 -4,1.6621 l -31,31 h 50.373 c 1.662,0 3,-1.338 3,-3 V 17.373 L -134.37,3 c -1.108,-1.108 -2.554,-1.6621 -4,-1.6621 z"
fill="#406ccd"
id="path13" />
<path
transform="scale(0.26458)"
d="m -158,-4.3535 c -1.0181,0 -2.0363,0.38982 -2.8164,1.1699 l -19.184,19.184 v 15 c 0,1.662 1.338,3 3,3 h 54 c 1.3602,0 2.491,-0.90221 2.8613,-2.1387 l -35.045,-35.045 c -0.7801,-0.7801 -1.7983,-1.1699 -2.8164,-1.1699 z"
fill="#13427e"
id="path15" />
<circle
cx="-37.041"
cy="-2.9103999"
r="1.3229001"
fill="#ffffff"
id="circle17" />
</g>
</svg> </svg>

Before

Width:  |  Height:  |  Size: 2.9 KiB

After

Width:  |  Height:  |  Size: 3.3 KiB

View File

@ -1,98 +1,55 @@
<?xml version="1.0" encoding="UTF-8" standalone="no"?> <?xml version="1.0" encoding="UTF-8"?>
<svg <svg xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" width="64" height="64" viewBox="0 0 64 64" version="1.1">
xmlns:dc="http://purl.org/dc/elements/1.1/" <defs>
xmlns:cc="http://creativecommons.org/ns#" <clipPath id="clip1">
xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" <path d="M 4 4 L 60 4 L 60 60 L 4 60 Z M 4 4 "/>
xmlns:svg="http://www.w3.org/2000/svg" </clipPath>
xmlns="http://www.w3.org/2000/svg" <clipPath id="clip2">
xmlns:sodipodi="http://sodipodi.sourceforge.net/DTD/sodipodi-0.dtd" <path d="M 6.800781 4 L 57.199219 4 C 58.746094 4 60 5.253906 60 6.800781 L 60 57.199219 C 60 58.746094 58.746094 60 57.199219 60 L 6.800781 60 C 5.253906 60 4 58.746094 4 57.199219 L 4 6.800781 C 4 5.253906 5.253906 4 6.800781 4 Z M 6.800781 4 "/>
xmlns:inkscape="http://www.inkscape.org/namespaces/inkscape" </clipPath>
width="64" <linearGradient id="linear0" gradientUnits="userSpaceOnUse" x1="1.5783" y1="1.5776" x2="30.4213" y2="30.4219" gradientTransform="matrix(2,0,0,2,0,0)">
height="64" <stop offset="0" style="stop-color:rgb(15.686275%,68.627451%,91.764706%);stop-opacity:1;"/>
version="1.1" <stop offset="1" style="stop-color:rgb(51.372549%,54.509804%,89.411765%);stop-opacity:1;"/>
viewBox="0 0 16.933 16.933" </linearGradient>
id="svg21" <clipPath id="clip3">
sodipodi:docname="kuickshow.svg" <path d="M 10 30 L 60 30 L 60 60 L 10 60 Z M 10 30 "/>
inkscape:version="1.0.2 (e86c870879, 2021-01-15)"> </clipPath>
<sodipodi:namedview <clipPath id="clip4">
pagecolor="#ffffff" <path d="M 6.800781 4 L 57.199219 4 C 58.746094 4 60 5.253906 60 6.800781 L 60 57.199219 C 60 58.746094 58.746094 60 57.199219 60 L 6.800781 60 C 5.253906 60 4 58.746094 4 57.199219 L 4 6.800781 C 4 5.253906 5.253906 4 6.800781 4 Z M 6.800781 4 "/>
bordercolor="#666666" </clipPath>
borderopacity="1" <clipPath id="clip5">
objecttolerance="10" <path d="M 36 14 L 46 14 L 46 24 L 36 24 Z M 36 14 "/>
gridtolerance="10" </clipPath>
guidetolerance="10" <clipPath id="clip6">
inkscape:pageopacity="0" <path d="M 6.800781 4 L 57.199219 4 C 58.746094 4 60 5.253906 60 6.800781 L 60 57.199219 C 60 58.746094 58.746094 60 57.199219 60 L 6.800781 60 C 5.253906 60 4 58.746094 4 57.199219 L 4 6.800781 C 4 5.253906 5.253906 4 6.800781 4 Z M 6.800781 4 "/>
inkscape:pageshadow="2" </clipPath>
inkscape:window-width="1920" <clipPath id="clip7">
inkscape:window-height="936" <path d="M 4 24 L 60 24 L 60 60 L 4 60 Z M 4 24 "/>
id="namedview23" </clipPath>
showgrid="false" <clipPath id="clip8">
inkscape:zoom="4.2813106" <path d="M 6.800781 4 L 57.199219 4 C 58.746094 4 60 5.253906 60 6.800781 L 60 57.199219 C 60 58.746094 58.746094 60 57.199219 60 L 6.800781 60 C 5.253906 60 4 58.746094 4 57.199219 L 4 6.800781 C 4 5.253906 5.253906 4 6.800781 4 Z M 6.800781 4 "/>
inkscape:cx="17.37719" </clipPath>
inkscape:cy="69.84923" </defs>
inkscape:window-x="0" <g id="surface1">
inkscape:window-y="38" <g clip-path="url(#clip1)" clip-rule="nonzero">
inkscape:window-maximized="1" <g clip-path="url(#clip2)" clip-rule="nonzero">
inkscape:current-layer="svg21" /> <path style=" stroke:none;fill-rule:nonzero;fill:url(#linear0);" d="M 4 4 L 60 4 L 60 60 L 4 60 Z M 4 4 "/>
<defs </g>
id="defs7"> </g>
<linearGradient <g clip-path="url(#clip3)" clip-rule="nonzero">
id="linearGradient873" <g clip-path="url(#clip4)" clip-rule="nonzero">
x1="-48.646" <path style=" stroke:none;fill-rule:nonzero;fill:rgb(25.098039%,42.352941%,80.392157%);fill-opacity:1;" d="M 46.535156 31.527344 C 44.453125 29.492188 41.125 29.492188 39.039062 31.527344 L 10 60 L 60 60 L 60 44.726562 Z M 46.535156 31.527344 "/>
x2="-32.772" </g>
y1="-6.3007" </g>
y2="9.574" <g clip-path="url(#clip5)" clip-rule="nonzero">
gradientTransform="translate(1.0224,-0.57831)" <g clip-path="url(#clip6)" clip-rule="nonzero">
gradientUnits="userSpaceOnUse"> <path style=" stroke:none;fill-rule:nonzero;fill:rgb(100%,100%,100%);fill-opacity:1;" d="M 46 19 C 46 21.761719 43.761719 24 41 24 C 38.238281 24 36 21.761719 36 19 C 36 16.238281 38.238281 14 41 14 C 43.761719 14 46 16.238281 46 19 Z M 46 19 "/>
<stop </g>
stop-color="#28afea" </g>
offset="0" <g clip-path="url(#clip7)" clip-rule="nonzero">
id="stop2" /> <g clip-path="url(#clip8)" clip-rule="nonzero">
<stop <path style=" stroke:none;fill-rule:nonzero;fill:rgb(7.45098%,25.882353%,49.411765%);fill-opacity:1;" d="M 60 57.992188 L 27.214844 25.097656 C 26.519531 24.394531 25.570312 24 24.578125 24 C 23.589844 24 22.640625 24.394531 21.945312 25.097656 L 4 43.105469 L 4 60 L 60 60 L 60 58 L 59.996094 58 Z M 60 57.992188 "/>
stop-color="#838be4" </g>
offset="1" </g>
id="stop4" /> </g>
</linearGradient>
</defs>
<metadata
id="metadata9">
<rdf:RDF>
<cc:Work
rdf:about="">
<dc:format>image/svg+xml</dc:format>
<dc:type
rdf:resource="http://purl.org/dc/dcmitype/StillImage" />
<dc:title></dc:title>
</cc:Work>
</rdf:RDF>
</metadata>
<g
transform="matrix(0.91660823,0,0,0.91660823,44.843616,7.4962704)"
id="g19">
<rect
x="-47.624001"
y="-6.8790002"
width="15.875"
height="15.875"
ry="0.79373002"
fill="url(#linearGradient873)"
id="rect11"
style="fill:url(#linearGradient873)" />
<path
transform="scale(0.26458)"
d="m -138.37,1.3379 c -1.446,0 -2.892,0.55411 -4,1.6621 l -31,31 h 50.373 c 1.662,0 3,-1.338 3,-3 V 17.373 L -134.37,3 c -1.108,-1.108 -2.554,-1.6621 -4,-1.6621 z"
fill="#406ccd"
id="path13" />
<path
transform="scale(0.26458)"
d="m -158,-4.3535 c -1.0181,0 -2.0363,0.38982 -2.8164,1.1699 l -19.184,19.184 v 15 c 0,1.662 1.338,3 3,3 h 54 c 1.3602,0 2.491,-0.90221 2.8613,-2.1387 l -35.045,-35.045 c -0.7801,-0.7801 -1.7983,-1.1699 -2.8164,-1.1699 z"
fill="#13427e"
id="path15" />
<circle
cx="-37.041"
cy="-2.9103999"
r="1.3229001"
fill="#ffffff"
id="circle17" />
</g>
</svg> </svg>

Before

Width:  |  Height:  |  Size: 2.9 KiB

After

Width:  |  Height:  |  Size: 3.3 KiB