Pipes an in-memory image buffer through ffmpeg stdin and writes the encoded result to disk. Avoids an intermediate temp file. Used to produce real WebP (and re-encoded JPEG) from a single PNG screenshot buffer.
Pipes an in-memory image buffer through ffmpeg stdin and writes the encoded result to disk. Avoids an intermediate temp file. Used to produce real WebP (and re-encoded JPEG) from a single PNG screenshot buffer.