User:Jakeboxer/sandbox

Please note that this feature is currently not implemented; I am writing this article so that I know exactly what I want to implement before actually implementing it. You can control the JFractalizer via the command line by giving it arguments. The simplest possibility is to open a file without the File-Open menu item, but you can also use this to batch-render entire sets of save files in one run.

General structure
EDIT: I just noticed that the MediaWiki format doesn't work as it should ( inputFileName should be in italics)... weird. java -jar jfractalizer.jar [inputFileName|fractalProviderCanonicalName:colorPaletteCanonicalName{:fractalProviderParams{:colorPaletteParams}}] {[/renderImage outputFileName|/renderMovie {-zoomFactor zoomFactor} {-fixedLength framesCount} outputFileName]} where [a|b|...] stands for "any one of a, b, ..." and {...} means "... is optional".

Explanation
You start the JFractalizer with `java -jar jfractalizer.jar`. If you end the command line at this point, the JFractalizer will start normally. However, you can also either If you end the command line at this point, the JFractalizer will start as you specified it. However, if you add processing commands (renderImage or renderMovie, both with the output file name), the JFractalizer will work windowless and quit after processing the content as specified.
 * 1) Add the name of a file that will be loaded on startup or
 * 2) Specify, separated by colons, the FractalProvider and the Colorpalette and pass some arguments to them. Note: If these arguments contain spaces, you have to put quotes (") around the whole argument (including the FractalProvider etc.).

renderImage
renderImage will tell the JFractalizer to render the current view of the fractal and save it to the specified file. The JFractalizer will attempt to recognize the image format out of the file name; if the image format is unknown or unsupported, it will use the default format png and append ".png" to the filename.

renderMovie
renderMovie will tell the JFractalizer to start a movie at the current view of the fractal and save it to the specified file(s). The JFractalizer will attempt to recognize the movie format out of the file name; if the movie format is unknown or unsupported, it will use the default format MPEG-4/AVC (H.264) and append ".mp4" to the filename.

Additional parameters
These parameters are all optional and may be passed in any order.