Media Server 25.4
Media Server Help

# Resize Images

You can use a `scale` transformation task to duplicate an existing track and resize the images in the new track (the input track is not modified). The new output track is named `taskName.Output`, where `taskName` is the name of the transformation task.

The scale transformation engine also scales metadata that refers to the position of an object in the video frame, so that the positions remain correct after the image has been scaled. For example, when you resize images of faces, the metadata that describes the bounding box surrounding the face is also scaled.

To resize images

1. Create a new configuration to send to Media Server with the `process` action, or open an existing configuration that you want to modify.

2. In the `[Session]` section, add a new task by setting the `EngineN` parameter. You can give the task any name, for example:

       [Session]
       Engine0=Ingest
       ...
       Engine2=ScaleKeyframes

3. Create a new configuration section to contain the task settings and set the following parameters:

   `Type` | The transformation engine to use. Set this parameter to `Scale`.
   Input | The name of the image track to process.
   ImageSize | (Set this or `ScaleFactor`) The output image size in pixels (width followed by height). If you specify one dimension and set the other to `0` (zero), Media Server preserves the aspect ratio of the original image.
   ScaleFactor | (Set this or `ImageSize`) The scale factor to use to calculate the size of the output image. Specify a number or a fraction. For example, to resize images to one third of the original dimensions, set `ScaleFactor=1/3`.

   For example:

       [ScaleKeyFrames]
       Type=Scale
       Input=Keyframe.ResultWithSource
       ImageSize=300,0

   or, using a scale factor:

       [ScaleKeyFrames]
       Type=Scale
       Input=Keyframe.ResultWithSource
       ScaleFactor=1/2

4. Save and close the configuration file. OpenText recommends that you save your configuration files in the location specified by the `ConfigDirectory` parameter.

Copyright 2025 Open Text
Version 25.4 | Last updated October 2025

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 25.4

Topic Title: Resize Images