video: Write Video

Description Usage Arguments Details See Also

Description

High quality video / gif exporter based on external packages gifski and av.

Usage

1
2
3
image_write_video(image, path = NULL, framerate = 1, ...)

image_write_gif(image, path = NULL, ...)

Arguments

image

magick image object returned by image_read() or image_graph()

path

filename of the output gif or video. This is also the return value.

framerate

frames per second, passed to av_encode_video

...

additional parameters passed to av_encode_video and gifski.

Details

This requires an image with multiple frames. The GIF exporter accomplishes the same thing as image_animate but much faster and with better quality.

See Also

Other image: _index_, analysis, animation, attributes, color, composite, device, edges, editing, effects, fx, geometry, morphology, ocr, options, painting, segmentation, transform


ropensci/magick documentation built on Jan. 15, 2019, 3:27 a.m.