
Encodes Image or VideoFrame inputs to PNG or JPEG and writes them to disk under a prefixed, zero-padded index, optionally subsampling the stream and capping storage to a rolling window of files.
Frames annotated by visualize are archived to disk as an evidence trail.
A higher-rate source is subsampled to build an image dataset by keeping only every Nth frame.
image_format accepts only png or jpg (jpeg is treated as jpg); any other value aborts startup, as does setting every_n to zero (use one to save every frame).every_n the index still advances by one per written file.max_files turns the directory into a circular buffer whose oldest files are silently overwritten.include_timestamp is honoured only for video-frame inputs, and preserve_alpha only affects PNG output since JPEG always drops alpha; jpeg_quality and png_compression each apply only to their respective format.Automated release