I need to create a collection of images, where each image:
1) Is created using the star and polygons tool
2) Each new image is created by incrementing the 'Rounded' parameter by 0.01 (Resulting in, for example, a collection of 50 stars, where the 1st star has a Rounded value of 0.000 and the 50th, 0.500.
I have done this manually, but would like to create other collections (in a similar manner) by manipulating the 'Randomized' parameter.
Does anyone know of a way of automatizing the export of .png files (as opposed to me repeating the above process manually) ?
Thank you!
Automating Export of .png files
Re: Automating Export of .png files
Hi.
Hey it looks like you tryingt to make an animation.
Checking the star object in an svg with a notepad it looks the star is stored as a path -with inkscape specific sodipodi tag; meaning illustrator wouldn't open the star as a star but as a path-.
With <animate> tags a large variety of svg elements can be animated (with smil ?). Upon testing it seems the rounding of the custom element's parametre is out of the range. Either that or just I couldn't get it working.
On the other hand, if you convert the object to path you are able to make a morphing animation covering the same thing.
Check this post for a working example.
How to capture animated svg-s to a gif "properly" -besides with a screen recorder- I cannot tell.
Been suggested to use batik before.
Hey it looks like you tryingt to make an animation.
Checking the star object in an svg with a notepad it looks the star is stored as a path -with inkscape specific sodipodi tag; meaning illustrator wouldn't open the star as a star but as a path-.
With <animate> tags a large variety of svg elements can be animated (with smil ?). Upon testing it seems the rounding of the custom element's parametre is out of the range. Either that or just I couldn't get it working.
On the other hand, if you convert the object to path you are able to make a morphing animation covering the same thing.
Check this post for a working example.
How to capture animated svg-s to a gif "properly" -besides with a screen recorder- I cannot tell.
Been suggested to use batik before.
Re: Automating Export of .png files
I thought this could work, but it doesn't:
Not sure if it's a bug, or perhaps I'm doing something wrong.
Not sure if it's a bug, or perhaps I'm doing something wrong.
Something doesn't work? - Keeping an eye on the status bar can save you a lot of time!
Inkscape FAQ - Learning Resources - Website with tutorials (German and English)
Inkscape FAQ - Learning Resources - Website with tutorials (German and English)
Re: Automating Export of .png files
(had it set to 'Apply to Tag', too. Also tried with dots as decimal separator.)
Something doesn't work? - Keeping an eye on the status bar can save you a lot of time!
Inkscape FAQ - Learning Resources - Website with tutorials (German and English)
Inkscape FAQ - Learning Resources - Website with tutorials (German and English)
Re: Automating Export of .png files
Guess it needs to take the namespace into account and to set it separately. Probably not hard to do...
Something doesn't work? - Keeping an eye on the status bar can save you a lot of time!
Inkscape FAQ - Learning Resources - Website with tutorials (German and English)
Inkscape FAQ - Learning Resources - Website with tutorials (German and English)
Re: Automating Export of .png files
Works now in my version, but wow, there are so many bugs... and Inkscape crashes regularly when you change a number in the fields.
- Attachments
-
- Bildschirmfoto_2017-10-03_03-06-06.png (45.8 KiB) Viewed 1625 times
Something doesn't work? - Keeping an eye on the status bar can save you a lot of time!
Inkscape FAQ - Learning Resources - Website with tutorials (German and English)
Inkscape FAQ - Learning Resources - Website with tutorials (German and English)
Re: Automating Export of .png files
^Ha!
Nice you could get it to work. However the original post was about altering the rounded parametre and not the randomization. Maybe that would be more stabile.
Nice you could get it to work. However the original post was about altering the rounded parametre and not the randomization. Maybe that would be more stabile.
Re: Automating Export of .png files
Lazur wrote:However the original post was about altering the rounded parametre and not the randomization. Maybe that would be more stabile.
Actually the OP used "rounded" as an example, but went on to say:
alextrosta wrote:I have done this manually, but would like to create other collections (in a similar manner) by manipulating the 'Randomized' parameter.
Re: Automating Export of .png files
It will work for both, the screenshot was just an example. However, randomized will be randomized for every step, and not a step-wise change (although I suspect that Inkscape's 'random' isn't so very randomly here). Fixed a couple more issues with the extension, while I was working on it, too (e.g. it completely ignored the units... ?!?)
What doesn't work so well is varying the number of spikes of a star, as that seems to require changing another parameter in the SVG in unison.
What doesn't work so well is varying the number of spikes of a star, as that seems to require changing another parameter in the SVG in unison.
Something doesn't work? - Keeping an eye on the status bar can save you a lot of time!
Inkscape FAQ - Learning Resources - Website with tutorials (German and English)
Inkscape FAQ - Learning Resources - Website with tutorials (German and English)