diff --git a/README.Git b/README.Git index f101c058a..fcf877a37 100644 --- a/README.Git +++ b/README.Git @@ -23,7 +23,7 @@ following: * Texinfo 5.2 or later, to build the documentation. - * Gimp -- 2.8.2 is known to work + * ImageMagick -- 7.0.10 is known to work After you install PSPP's prerequisites, you must obtain a copy of Gnulib, then bootstrap the tree, as described in the sections below. diff --git a/Smake b/Smake index 577e31ef4..12016e579 100644 --- a/Smake +++ b/Smake @@ -401,12 +401,6 @@ clean: .PHONY: all gettextize clean -# The "convert" program from imagemagick can be used to create png from svg but doesn't properly deal -# with the alpha channels. Therefore, it is not recommended for production pspp builds, but might -# be useful to get something working on a platform which doesn't have a working gimp. - -#svg2png=convert -background transparent $1 $3 - # Graphical layout of icons and our portfolio # =========================================== # diff --git a/build-aux/svg2png b/build-aux/svg2png index d00e10952..f731d83c2 100755 --- a/build-aux/svg2png +++ b/build-aux/svg2png @@ -24,9 +24,4 @@ esac echo "Converting" $1 "to" $3 "size" $width"x"$width comment=`cat $2` -gimp -i -b "\ -(let* ((image (car (file-svg-load 1 \"$1\" \"$1\" 90 $width $width 0 )))) - (gimp-image-attach-parasite image '(\"gimp-comment\" 0 \"$comment\")) - (gimp-file-save 1 image (car (gimp-image-get-active-drawable image)) - \"$3\" \"$3\")) - (gimp-quit 1)" +convert -size ${width}x${width} -transparent white -comment "$comment" $1 PNG32:$3