diff --git a/.github/workflows/site.yml b/.github/workflows/site.yml index 8a9fc081f1..2b85171941 100644 --- a/.github/workflows/site.yml +++ b/.github/workflows/site.yml @@ -40,11 +40,6 @@ jobs: ~/.local/bin ~/.local/lib/python*/site-packages - - name: Install ImageMagick - run: | - sudo apt-get install fuse - sudo apt-get install librsvg2-bin - - name: Check Out uses: actions/checkout@v3 with: diff --git a/gradle/icons.gradle b/gradle/icons.gradle index 479bfe43af..6c0e3761a9 100644 --- a/gradle/icons.gradle +++ b/gradle/icons.gradle @@ -26,11 +26,8 @@ private void createPng( ) { exec { - final List dimensions = getSvgDimensions(svg) - if (dimensions[0] > dimensions[1]) - commandLine("rsvg-convert", "-w", width, "-o", "$buildDir/$out", svg) - else - commandLine("rsvg-convert", "-h", height, "-o", "$buildDir/$out", svg) + final String geometry = "${width}x${height}" + commandLine("convert", "-background", "none", "-resize", geometry, svg, "$buildDir/$out") } exec {