| FileOut |
Function
The FileOut function allows you to write images to disk or
to another external device. It recognizes local, absolute, or URL paths. For
a URL address, place a // in
front of the path. To write to another computer, write //Biggo/Drive/Directory/etc.
For the command line, each FileOut is explicitly accompanied by a -fo (or -fileout).
You can
add multiple FileOut nodes along your command string to output different steps
of the command.
For more on the syntax of the file name, see FileIn.
|
Parameters
|
Type
|
Defaults
|
Function
|
| imageName |
string
|
The path and file name of the output image. | |
| fileFormat |
string
|
"auto" | If no extension is given, the ouput format is .iff. You can over-ride this behaviour by explicitly setting the output format. |
| codec (QuickTime only) |
string
|
A list of all available compressors. The default argument is "Default". | |
| compressionQuality (QuickTime only) |
float
|
The quality of the compression algorithm. A value of 1 means maximum size, maximum quality. 0 means minimum size, minimum quality. | |
| framesPerSecond (QuickTime only) |
int
|
The frames per second for the playback of the QuickTime compression. |
Synopis
image FileOut ( image, const char * imageName);
Script
image = FileOut( image, "imageName");
shake input_image imageName
or
shake input_image -fileout imageName
See Also
FileIn