From 01bcdfb47ca429eecdfb9206edee54019885aa5a Mon Sep 17 00:00:00 2001 From: Abe Pazos Date: Tue, 23 Aug 2022 09:08:55 +0000 Subject: [PATCH] [orx-video-profiles] Mention `tiffSequence()` in README.md (#268) --- orx-jvm/orx-video-profiles/README.md | 31 +++++++++++++++++++++++++++- 1 file changed, 30 insertions(+), 1 deletion(-) diff --git a/orx-jvm/orx-video-profiles/README.md b/orx-jvm/orx-video-profiles/README.md index fbde196a..c8994611 100644 --- a/orx-jvm/orx-video-profiles/README.md +++ b/orx-jvm/orx-video-profiles/README.md @@ -57,6 +57,35 @@ fun main() = application { } ``` +### TIFF sequence + +TIFF images are lossless and they can be faster to write than other formats. You will probably need to convert +them later to a more common format or combine them into a video file. + +This profile requires specifying a file name: `outputFile = "frame-%05d.tif"`, +where `%05d` means "zero-padded five-digit frame number". +The frame number format is not optional. + +```kotlin +import org.openrndr.application +import org.openrndr.color.ColorRGBa +import org.openrndr.extra.videoprofiles.* +import org.openrndr.ffmpeg.ScreenRecorder + +fun main() = application { + program { + extend(ScreenRecorder()) { + tiffSequence() + outputFile = "frame-%05d.tif" + } + extend { + drawer.clear(ColorRGBa.GREEN) + } + } +} +``` + + ### Animated Webp ```kotlin @@ -120,4 +149,4 @@ fun main() = application { } } } -``` \ No newline at end of file +```