Skip to content

🎥 Make videos programmatically with React

config.SetImageFormat

Patric Salvisberg2e730bc8fecf
diff --git a/packages/docs/docs/4-0-migration.md b/packages/docs/docs/4-0-migration.md
index ca80b70f6a..f041c29884 100644
--- a/packages/docs/docs/4-0-migration.md
+++ b/packages/docs/docs/4-0-migration.md
@@ -92,6 +92,10 @@ FFmpeg is now baked into the `@remotion/renderer` package. Therefore, the `ffmpe
In V3, `onSlowestFrames` has been a callback function that you could pass to `renderMedia()`.
In V4, this data has been moved to the [return value](/docs/renderer/render-media#return-value).
+## Config.setImageFormat() replaced
+
+`Config.setImageFormat` got replaced by `config.setVideoImageFormat`and `config.SetStillImageFormat`. This distinction is done since in most cases it makes sense to have the `VideoImageFormat` set to JPEG and the `StillImageFormat` to PNG.
+
## ImageFormat removed
The [@remotion/renderer](/docs/renderer) `ImageFormat` Type got replaced by the more specific Types `VideoImageFormat` and `StillImageFormat`.