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

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

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

The best resource I've found is here however, attempts to run this on
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

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
write this as a fallback for this particular system.

For the error you're getting try changing file-svg to file-svg-save


Liam Quin -

Slave in full-time voluntary servitude

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