Re: [Gimp-user] SVG to PNG using a script
- From: Tres Finocchiaro <tres finocchiaro gmail com>
- To: Liam R E Quin <liam holoweb net>
- Cc: GIMP-user-list <gimp-user-list gnome org>
- Subject: Re: [Gimp-user] SVG to PNG using a script
- Date: Tue, 21 Apr 2020 16:36:27 -0400
I'm confused, I'm attempting to use the gimp command line, is it no longer
supported? Why am I being told to use other tools still?
This is a specific attempt to use Gimp for a task. No additional software
installed. If Gimp ships with a usable version of python in a reliable
location, I'd be happy to leverage that, but the question is in regards to
a target system with only Gimp installed, assuming it doesn't have
Inkscape, ImageMagick Python or Perl.
I'm asking how to use the gimp command line only.
- Tres Finocchiaro gmail com
On Tue, Apr 21, 2020 at 4:24 PM Liam R E Quin <liam holoweb net> wrote:
On Tue, 2020-04-21 at 15:47 -0400, Tres Finocchiaro via gimp-user-list
wrote:
I was wonder if there was a way to utilize Gimp's scripting system to
convert an SVG to a PNG?
Yes, from python, perl or scheme (script-fu).
there's also batch mode add-ons such as phatch.
You might prefer to use Inkscape for this one - it can do this in the
command-line.
The best resource I've found is here however, attempts to run this on
my
machine are failing using GIMP 2.1.0.
Hoping you mean 2.10.18
I'm using MacOS to write the script, but the target platform is
Windows.
We are a release behind n the Mac because we don't have a Mac
maintainer right now.
I understand there are many other tools for performing this
conversion (and
I'm leveraging these tools in other parts of code) but I was hoping
to
write this as a fallback for this particular system.
For the error you're getting try changing file-svg to file-svg-save
maybe.
slave
--
Liam Quin - https://www.fromoldbooks.org/
Slave in full-time voluntary servitude
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]