Re: [Gimp-user] SVG to PNG using a script
- From: Tres Finocchiaro <tres finocchiaro gmail com>
- To: Michael Schumacher <schumaml gmx de>
- Cc: GIMP-user-list <gimp-user-list gnome org>
- Subject: Re: [Gimp-user] SVG to PNG using a script
- Date: Tue, 21 Apr 2020 17:04:35 -0400
Michael,
You're completely right, the web archive of that original post has it for
download. Here's the web archive article, which specifically mentions
downloading svg-to-raster.scm.
https://web.archive.org/web/20140214102644/http://porpoisehead.net/mysw/index.php?pgid=gimp_svg
Fortunately, web archive had a copy of the scheme source. I've re-hosted
it here: https://gist.github.com/tresf/c06aac6ceb51b86f328c3655fb503efe
I'll continue down this path and share my progress. Thanks kindly!
- Tres Finocchiaro gmail com
On Tue, Apr 21, 2020 at 4:57 PM Michael Schumacher <schumaml gmx de> wrote:
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.
http://www.jasonhardin.com/programming/2012/08/23/Gimp-svg-to-png-script/#disqus_thread
The script I'm running:
gimp -i --batch='(svg-to-raster "src.svg" "dst.png" 72 0 0)'
--batch='(gimp-quit
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
https://www.gimp.org/tutorials/Basic_Batch/ - with different parameters,
though, as it only really needs to open a file and export it with a
different file name.
--
Regards,
Michael
GPG: 96A8 B38A 728A 577D 724D 60E5 F855 53EC B36D 4CDD
_______________________________________________
gimp-user-list mailing list
List address: gimp-user-list gnome org
List membership: https://mail.gnome.org/mailman/listinfo/gimp-user-list
List archives: https://mail.gnome.org/archives/gimp-user-list
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]