Hristo Milev wrote:
GIMP Version: 2.8.14
Operating System: Windows
GIMP Experience: Basic Level
Hey,
I want to programmatically edit some very simple predefined SVG or other vector files and then generate PNGs from them. Need just to scale, change some basic colors, and make gradients without touching the shape of the vector image at all.
I wonder which is the best approach. To use SVG or some specific GIMP files... exported shapes?
The antialiasing is important too. The outputted PNGs must be as crisp as possible. When I open an SVG in GIMP under Windows, it applies some very nice antialiasing to the shape, but when I colorpick it, it gets pixelated or the semitransparent pixels are not affected.
As I mentioned above, the process will be running entirely in CLI mode under CentOS.
Any thoughts?
If you were to use a script like this one on
Post #41 of this thread that is called path_to_darken_layer.scm it will make a layer with NO antialiased edges that you can apply color to or gradients. You could just disable the line 8 of the script that turns the layer to darken only mode. It would be an easy way to make non aliased layers, that have the Lock Alpha Channel enabled, and are cropped to layer size. Simply have the path highlighted and use the script from the script fu tab. That's what it sounds like your trying to do I think.