Skip to main content
Rendering to a bitmap at runtime is useful for scenarios such as snapshot testing and rendering video encoded from data-bound files.
For rendering to a bitmap from the Rive Editor, see Exporting for Video or Static Design.

Demo

See the RiveSnapshotActivity example for a demonstration of this feature.
Rendering to a bitmap is done using the RenderBuffer class or the onBitmapAvailable callback in the Rive Composable.