The svg2png syntax for gimp does not work for gimp 2.10.18
on MacOS. I replaced the list command with the alternative
syntax.
comment=`cat $2`
gimp -i -b "\
(let* ((image (car (gimp-file-load 1 \"$1\" \"$1\"))))
comment=`cat $2`
gimp -i -b "\
(let* ((image (car (gimp-file-load 1 \"$1\" \"$1\"))))
- (gimp-image-attach-parasite image (list \"gimp-comment\" 0 \"$comment\"))
+ (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)"
(gimp-file-save 1 image (car (gimp-image-get-active-drawable image))
\"$3\" \"$3\"))
(gimp-quit 1)"