Tell me more ×
Super User is a question and answer site for computer enthusiasts and power users. It's 100% free, no registration required.

I'd like to create graphic files in bulk. Preferably from a bash script in Linux.

I was thinking creating SVG files from a bash script, maybe with some SED & AWK was do-able.. and maybe use Imagemagick to convert those into JPEG.

The files would not be complex.

Does this sound do-able? Any alterante ideas? Website for me to look at?

I don't have much experience with SVG.. for what that's worth.

share|improve this question
1  
What are you starting with and what do you want to end up with? – soandos Apr 24 '12 at 17:38
There is a ton of tools that generate images from code. You have to be more specific in what you want to accomplish. – Daniel Andersson Apr 24 '12 at 18:11
Daniel.. I need to make 60 graphic files on each run. The image is basic solids with some text. Since yesterday, I've finished up the basic SVG file (using code.google.com/p/svg-edit). After I make the batch of 60 SVG files.. I'll use Image Magick to soften them up a bit (I couldn't figure out how to do that in SVG code) and then convert in JPEG or PNG. – Paulb Apr 25 '12 at 9:55

closed as not a real question by studiohack Jun 2 '12 at 0:01

It's difficult to tell what is being asked here. This question is ambiguous, vague, incomplete, overly broad, or rhetorical and cannot be reasonably answered in its current form. For help clarifying this question so that it can be reopened, see the FAQ.

1 Answer

I don't have much experience either but the ImageMagick tools are very sophisticated and seem to be able to do just about anything you would want with a typical paint program from the command line.

I used this to help me when I wanted to research doing some things with Imagemagick: http://www.imagemagick.org/Usage/

A quick search brought this up, showing that you can "draw" SVGs from the command line: http://www.imagemagick.org/script/magick-vector-graphics.php

Sorry I can't be of further help but to answer your question, quite a bit is do-able.

share|improve this answer
Thanks Ultra.. the MVG file was new to me. I've made some progress since yesterday. I used code.google.com/p/svg-edit to create a simple SVG file. It has a code-view, which brings up concise code.. I think I'm on the right track here. – Paulb Apr 25 '12 at 9:59

Not the answer you're looking for? Browse other questions tagged or ask your own question.