get_formats returns all available file formats that can be used with animate_move (out_format). The available output formats depend on the additional libraries that are installed on your system (see get_libraries).

get_formats(tool = "auto")

Arguments

tool

character. Default is "auto" to return all available formats. If set to either 'convert', 'ffmpeg' or 'avconv', the output formats made available by one of these specific library tools are returned.

Value

A character vector containing available output formats. Each vector element can serve as input to the out_format argument of animate_move.

See also

Examples

# NOT RUN {
#Get all formats available from the currently installed libraries
formats <- get_formats()
print(formats)

#For example, use the output as input to animate_move() out_format argument
out_format <- formats[1]
# }
#Get formats provided by specifc tool formats <- get_formats(tool = "convert")