Upgrade Bitcrusher plugin PNG assets with SVG (#7772)

This commit is contained in:
Fawn
2025-03-19 13:12:00 -06:00
committed by GitHub
parent fd32158861
commit fc29682b90
5 changed files with 25 additions and 1 deletions

View File

@@ -1,3 +1,3 @@
INCLUDE(BuildPlugin)
BUILD_PLUGIN(bitcrush Bitcrush.cpp BitcrushControls.cpp BitcrushControlDialog.cpp MOCFILES BitcrushControls.h BitcrushControlDialog.h EMBEDDED_RESOURCES artwork.png logo.png)
BUILD_PLUGIN(bitcrush Bitcrush.cpp BitcrushControls.cpp BitcrushControlDialog.cpp MOCFILES BitcrushControls.h BitcrushControlDialog.h EMBEDDED_RESOURCES artwork.svg logo.svg)

Binary file not shown.

Before

Width:  |  Height:  |  Size: 1.3 KiB

View File

@@ -0,0 +1,21 @@
<svg xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" xml:space="preserve" width="181" height="128">
<defs>
<linearGradient id="a">
<stop offset="0" stop-color="#08090c"/>
<stop offset="1" stop-color="#101116"/>
</linearGradient>
<linearGradient id="b">
<stop offset="0" stop-color="#1a1d21"/>
<stop offset="1" stop-color="#2d333a"/>
</linearGradient>
<linearGradient xlink:href="#a" id="c" x1="0" x2="0" y1="110" y2="0" gradientTransform="scale(1.81 1.16364)" gradientUnits="userSpaceOnUse"/>
<linearGradient xlink:href="#b" id="d" x1="-29.25007" x2="-29.25007" y1="118" y2="10" gradientTransform="matrix(1.02564 0 0 1.00926 39.50008 -.5926)" gradientUnits="userSpaceOnUse"/>
</defs>
<path fill="url(#c)" d="M0 0h181v128H0Z"/>
<rect width="40" height="109" x="9.5" y="9.5" fill="url(#d)" stroke="#000" stroke-width="1" ry="2.065"/>
<rect width="40" height="109" x="131.5" y="9.5" fill="url(#d)" stroke="#000" stroke-width="1" ry="2.065"/>
<path fill="#fff" d="M11.56445 10C10.6888 10 10 10.6888 10 11.56445v1C10 11.6888 10.6888 11 11.56445 11h35.8711C48.3112 11 49 11.6888 49 12.56445v-1C49 10.6888 48.3112 10 47.43555 10h-35.8711z" color="#000" opacity=".1"/>
<path d="M11.56445 118.00002c-.87566 0-1.56445-.68879-1.56445-1.56445v-1c0 .87566.6888 1.56445 1.56445 1.56445h35.8711c.87566 0 1.56445-.68879 1.56445-1.56445v1c0 .87566-.6888 1.56445-1.56445 1.56445z" color="#000" opacity=".25"/>
<path fill="#fff" d="M133.56446 10C132.6888 10 132 10.6888 132 11.56445v1C132 11.6888 132.6888 11 133.56446 11h35.87109c.87566 0 1.56445.6888 1.56445 1.56445v-1C171 10.6888 170.31121 10 169.43555 10Z" color="#000" opacity=".1"/>
<path d="M133.56446 118.00002c-.87566 0-1.56446-.68879-1.56446-1.56445v-1c0 .87566.6888 1.56445 1.56446 1.56445h35.87109c.87566 0 1.56445-.68879 1.56445-1.56445v1c0 .87566-.68879 1.56445-1.56445 1.56445z" color="#000" opacity=".25"/>
</svg>

After

Width:  |  Height:  |  Size: 1.9 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 774 B

View File

@@ -0,0 +1,3 @@
<svg xmlns="http://www.w3.org/2000/svg" xml:space="preserve" width="48" height="48">
<path fill="#fff" d="M7.86719 2C3.95608 2 2 3.95608 2 7.86719V40.1328C2 44.04392 3.95608 46 7.86719 46H40.1328C44.04392 46 46 44.04392 46 40.13281V7.8672C46 3.95608 44.04392 2 40.13281 2H7.8672zM24 9l15 8.4375V35.25l-5.625 2.8125L27.75 35.25v-6.5625l5.625-2.8125V20.25L24 15.5625 14.625 20.25v5.625l5.625 2.8125V35.25l-5.625 2.8125L9 35.25V17.4375L24 9z"/>
</svg>

After

Width:  |  Height:  |  Size: 451 B