Media Server 26.1
Media Server Help

# CreateImage

Creates an image file from a video frame stored in the rolling buffer.

Media Server creates the image from a frame as close as possible to the specified `time` value. However, if there is no video that corresponds exactly to the requested time, the actual timestamp of the returned frame may differ.

Parameter | Description | Required
--- | --- | ---
OutputFormat | The output format for the image. The default returns a JPEG image. | No
Stream | The stream in the rolling buffer to create the image from. | Yes
Time | The time that the desired frame occurs. (EPOCH milliseconds or ISO-8601 format). You must use UTC time. | Yes

You can use the parameters Output and FileName to write the image to disk. If the value you specify for FileName contains a file extension that matches a supported image format, Media Server will output the image in this format.

## Example

    http://localhost:14000/action=CreateImage
                                        &Stream=BBCNews
                                        &Time=1430214314000
                                        &OutputFormat=tiff

The following example demonstrates how to write a PNG image to disk:

    http://localhost:14000/action=CreateImage
                                        &Stream=BBCNews
                                        &Time=1430214314000
                                        &Output=File
                                        &FileName=C:\MediaServer\create_image.png

## Response

The action returns the image.

Copyright 2025 Open Text
Version 26.1 | Last updated January 2026

Send documentation feedback

Close

Send documentation feedback

To send feedback using your default email client, open an email window.

Otherwise, send your feedback and the information below to MFI-swpdl.idoldocsfeedback@opentext.com.

We appreciate your feedback!

Product: Knowledge Discovery Media Server 26.1

Topic Title: CreateImage