Skip to content

🎥 Make videos programmatically with React

docs: Use <Options> component for `--image-format` in still CLI docs

Jonny Burger68e0cf75b3e6
diff --git a/packages/docs/docs/cli/still.mdx b/packages/docs/docs/cli/still.mdx
index 07f028928a..18f4dc140f 100644
--- a/packages/docs/docs/cli/still.mdx
+++ b/packages/docs/docs/cli/still.mdx
@@ -33,7 +33,7 @@ Inline JSON string isn't supported on Windows shells because it removes the `"`
### `--image-format`
-`jpeg`, `png`, `webp` or `pdf`. The default is `png`.
+<Options id="image-format" />
### `--config`
diff --git a/packages/docs/docs/cloudrun/cli/still.mdx b/packages/docs/docs/cloudrun/cli/still.mdx
index 4b709e17a3..ab477f24bf 100644
--- a/packages/docs/docs/cloudrun/cli/still.mdx
+++ b/packages/docs/docs/cloudrun/cli/still.mdx
@@ -79,7 +79,7 @@ Specify a specific bucket name to be used for the output. The resulting Google C
### `--image-format`
-[`jpeg` or `png` - JPEG is faster, but doesn't support transparency.](/docs/config#setstillimageformat) The default image format is `jpeg`.
+<Options id="image-format" />
### `--scale`
diff --git a/packages/docs/docs/lambda/cli/still.mdx b/packages/docs/docs/lambda/cli/still.mdx
index ea80c79af7..b034e18051 100644
--- a/packages/docs/docs/lambda/cli/still.mdx
+++ b/packages/docs/docs/lambda/cli/still.mdx
@@ -90,6 +90,10 @@ How many times a single chunk is being retried if it fails to render. Default `1
The file name of the media output as stored in the S3 bucket. By default, it is `out` plus the appropriate file extension, for example: `out.png`. Must match `/([0-9a-zA-Z-!_.*'()/]+)/g`.
+### `--image-format`
+
+<Options id="image-format" />
+
### `--jpeg-quality`
[Value between 0 and 100 for JPEG rendering quality](/docs/config#setjpegquality). Doesn't work when rendering an image format other than JPEG.