Re: [Gimp-user] SVG to PNG using a script

On 4/21/20 9:47 PM, Tres Finocchiaro via gimp-user-list wrote:

The best resource I've found is here however, attempts to run this on my
machine are failing using GIMP 2.1.0.

The script I'm running:
gimp -i --batch='(svg-to-raster "src.svg" "dst.png" 72 0 0)'

Unfortunately it throws the following error:
batch command experienced an execution error:
Error: eval: unbound variable: file-svg
What you found is just the command line being used to run a custom
script someone wrote - I assume this was available from one of the
now-defunct links in the message you linked to.

In short: what you have found and posted is not a complete script, not
by far.

In principle, the actual script was likely similar to the examples in - with different parameters,
though, as it only really needs to open a file and export it with a
different file name.

GPG: 96A8 B38A 728A 577D 724D 60E5 F855 53EC B36D 4CDD

[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]