Description Usage Arguments Value Examples
Combine multiple png files into an animated png file.
1 2 3 4 | apng(input_files = c(), output_file = "output.png",
num_plays = 0, delay_num = 0, delay_den = 0,
dispose_op = APNG_DISPOSE_OP_NONE,
blend_op = APNG_BLEND_OP_SOURCE)
|
input_files |
to specify the names of the input files |
output_file |
the name of the output file |
num_plays |
the amount of times to repeat the animation (0 means forever) |
delay_num |
the numerator of the frame delay (delay = delay_num / delay_den) |
delay_den |
the denominator of the frame delay (delay = delay_num / delay_den) |
dispose_op |
the frame disposal strategy |
blend_op |
the frame blending strategy |
For more information on blending and frame disposal strategies see https://wiki.mozilla.org/APNG_Specification.
Returns nothing, output is written to output_file.
1 2 3 4 5 6 7 |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.