RSS/Atom feed Twitter
Site is read-only, email is disabled

Batch processing?

This discussion is connected to the gimp-user-list.gnome.org mailing list which is provided by the GIMP developers and not related to gimpusers.com.

This is a read-only list on gimpusers.com so this discussion thread is read-only, too.

5 of 5 messages available
Toggle history

Please log in to manage your subscriptions.

Batch processing? Anime Dude 21 Apr 21:58
  Batch processing? Kasim Ahmic 22 Apr 20:45
  Batch processing? Steve Kinney 22 Apr 21:45
   Batch processing? Chris Mohler 22 Apr 21:51
    Batch processing? Partha Bagchi 23 Apr 00:45
Anime Dude
2013-04-21 21:58:10 UTC (over 11 years ago)

Batch processing?

When using command line gimp, is it possible to use *.jpg as the file name to have it process ALL the JPEG files in a folder? I'm really actually interested in a simple file format conversion with no image processing applied, specifically svg2png conversion. I know Gimp can render svg and can save png, and unlike the next best program ImageMagick, the Gimp actually DOES NOT GLITCH the resulting image! So I've got a folder FULL OF SVG FILES, and would like to be able to just type "gimp convert -i *.svg -outputformat png" and have have it AUTOMATICALLY convert all my svg files to png files. Is it possible to do this with such a simple and short command line? I know the above exact example command line doesn't work, cause I tried it. But is there some simillarly simple command line code I could use with gimp to convert svg to png via rendering the svg and then saving the image as a png?

Kasim Ahmic
2013-04-22 20:45:58 UTC (over 11 years ago)

Batch processing?

There's a great plugin called BIMP (Batch Image Manipulation Program) that'll let you do that. Once installed, you simply select all the images you want to modify, and click the option to export them with a different extension. I'm not near my computer at the moment so I can't tell you the exact procedure but it should be pretty self explanatory.

Hope I helped!

Sent from my iPod

On Apr 21, 2013, at 5:58 PM, Anime Dude wrote:

When using command line gimp, is it possible to use *.jpg as the file name to have it process ALL the JPEG files in a folder? I'm really actually interested in a simple file format conversion with no image processing applied, specifically svg2png conversion. I know Gimp can render svg and can save png, and unlike the next best program ImageMagick, the Gimp actually DOES NOT GLITCH the resulting image! So I've got a folder FULL OF SVG FILES, and would like to be able to just type "gimp convert -i *.svg -outputformat png" and have have it AUTOMATICALLY convert all my svg files to png files. Is it possible to do this with such a simple and short command line? I know the above exact example command line doesn't work, cause I tried it. But is there some simillarly simple command line code I could use with gimp to convert svg to png via rendering the svg and then saving the image as a png? _______________________________________________ gimp-user-list mailing list
gimp-user-list@gnome.org
https://mail.gnome.org/mailman/listinfo/gimp-user-list

Steve Kinney
2013-04-22 21:45:53 UTC (over 11 years ago)

Batch processing?

On 04/21/2013 05:58 PM, Anime Dude wrote:

When using command line gimp, is it possible to use *.jpg as the file name to have it process ALL the JPEG files in a folder? I'm really actually interested in a simple file format conversion with no image processing applied, specifically svg2png conversion. I know Gimp can render svg and can save png, and unlike the next best program ImageMagick, the Gimp actually DOES NOT GLITCH the resulting image! So I've got a folder FULL OF SVG FILES, and would like to be able to just type "gimp convert -i *.svg -outputformat png" and have have it AUTOMATICALLY convert all my svg files to png files. Is it possible to do this with such a simple and short command line? I know the above exact example command line doesn't work, cause I tried it. But is there some simillarly simple command line code I could use with gimp to convert svg to png via rendering the svg and then saving the image as a png?

"There's an app for that." :o)

Imagemagick is a Swiss Army Knife for doing operations on image files from the terminal, including format conversions. I use this batch script, with file format extensions changed as necessary, for batch conversions:

#!/bin/sh
# svg to png is only an example, change as needed for f in *.svg;
do
echo "converting $f"
convert "$f" "${f%.svg}.png"
done

Save the above text in a plaintext file, give it a name with a .sh extension and make it executable. Copy it to the directory your target files live in, run it with ./script-name.sh and watch the fun.

The above should work on any UNIX-like OS. According to the Sourceforge page, a package for Microsoft is also available.

:o)

Steve

Chris Mohler
2013-04-22 21:51:41 UTC (over 11 years ago)

Batch processing?

On Mon, Apr 22, 2013 at 4:45 PM, Steve Kinney wrote:

Imagemagick is a Swiss Army Knife[...]

But the OP specifically mentioned glitches when using IM on the SVG files, and requested help with GIMP in batch mode instead.

Chris

Partha Bagchi
2013-04-23 00:45:27 UTC (over 11 years ago)

Batch processing?

Currently my builds include dbp (David's Batch Processor). I plan to include BIMP in my next build.

On Mon, Apr 22, 2013 at 5:51 PM, Chris Mohler wrote:

On Mon, Apr 22, 2013 at 4:45 PM, Steve Kinney wrote:

Imagemagick is a Swiss Army Knife[...]

But the OP specifically mentioned glitches when using IM on the SVG files, and requested help with GIMP in batch mode instead.

Chris _______________________________________________ gimp-user-list mailing list
gimp-user-list@gnome.org
https://mail.gnome.org/mailman/listinfo/gimp-user-list