Skip to content

🎥 Make videos programmatically with React

udpate docs

Jonny Burgerd6381a5d79df
diff --git a/packages/docs/docs/3-0-migration.md b/packages/docs/docs/3-0-migration.md
index 08c3179f06..14454f4699 100644
--- a/packages/docs/docs/3-0-migration.md
+++ b/packages/docs/docs/3-0-migration.md
@@ -25,3 +25,9 @@ The new behavior of Remotion 3.0 is that if an error occurs, these functions rej
This parameter did probably not to what you thought it would. To avoid any confusion, we removed it without any replacement.
**Upgrade path**: If you added the `parallelism` property to the `stitchFramesToVideo()`, remove it.
+
+## Removed `imageFormat` parameter from `stitchFramesToVideo` API
+
+The necessary information is not embedded in `assetsInfo`, embedded in the return value of `renderFrames()`. The parameter `imageFormat` is not necessary anymore to pass into `stitchFramesToVideo()`.
+
+**Upgrade path**: Remove the `imageFormat` option from `stitchFramesToVideo()`.
diff --git a/packages/docs/docs/stitch-frames-to-video.md b/packages/docs/docs/stitch-frames-to-video.md
index da21c12156..463b347ef5 100644
--- a/packages/docs/docs/stitch-frames-to-video.md
+++ b/packages/docs/docs/stitch-frames-to-video.md
@@ -16,7 +16,6 @@ const stitchFramesToVideo: (options: {
outputLocation: string;
force: boolean;
assetsInfo: RenderAssetInfo;
- imageFormat?: "png" | "jpeg" | "none";
pixelFormat?: PixelFormat;
codec?: Codec;
crf?: number;
@@ -59,16 +58,6 @@ Whether in case of an existing file in `outputLocation` it should be overwritten
Information about the audio mix. This is part of the return value of [renderFrames()](/docs/render-frames#return-value).
-### `imageFormat?`
-
-_optional_
-
-Either `jpeg`, `png` or `none`. It should match what you passed into the [renderFrames()](/docs/render-frames#imageformat) function.
-
-:::info
-For backwards compatibility, if you omit this parameter, it will use `'png'`. Make sure to explicitly set this to `jpeg` to take advantage of faster rendering.
-:::
-
### `pixelFormat?`
_optional_