Open topic with navigation

# 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 HPE Media Server with the `process` action, or open an existing configuration that you want to modify.

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

       [Transform]
       TransformEngine0=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` | The output image size in pixels (width followed by height). If you specify one dimension and set the other to `0` (zero), HPE Media Server preserves the aspect ratio of the original image.

   For example:

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

   For more information about the parameters that you can use to configure this task, refer to the HPE Media Server Reference.

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

© 2016 Hewlett Packard Enterprise Development LP | Send documentation feedback to HPE Close Send Documentation Feedback To open the configured email client on this computer, open an email window. Otherwise, copy the information below to a web mail client, and send this email to AutonomyTPFeedback@hpe.com. We appreciate your feedback! Product: Topic Title: Help Topic: Feedback:

_HP_HTML5_bannerTitle.htm