in reply to SVG manipulation
I have looked to GD:SVG, but it doesn't import the given svg images and can't scale. SVG seems complex to learn.
Does anyone know which perl modules I can use to accomplish the drawing part as simple as possible or give some code snippets i can use?
I realize you asked for Perl modules (AM provided a few good ones you should definitely check out.) to accomplish the drawings but this may be another option:
If you're uneasy about learning SVG, although it's really not as hard as you may be thinking, you can try the open source vector program Inkscape for creating the drawings. SVG is Inkscape's native file format and you can even view a drawing's markup in it's XML editor. You can also do batch automation which should take care of your resizing and conversions to png or jpeg.
You can work with Inkscape from the command line which — I believe — will give you the ability to script it with Perl. Other more prolific Inkscape users may be able to confirm/deny that for you.
Hope this helps. Good luck!
Luis
|
|---|