# Okapi Framework - Steps ## Image Modification Step
- Overview - Parameters |
Steps | Developer's Guide | Okapi Framework

If you are using an Okapi Tool after the M9 release, you should be using the wiki online help:
http://www.opentag.com/okapi/wiki/index.php?title=Image_Modification_Step

## Overview

This step allows you to modify the size or the format of an image.

Takes: Raw document
Sends: Raw document

The image formats supported on input varies depending on your Java VM, version and platform.

## Parameters

Percentage of the original width -- Set the percentage of the width for the new image compared to the original. Use 100 for the same width.

Percentage of the original height -- Set the percentage of the height for the new image compared to the original. Use 100 for the same height.

Convert to gray scale -- Set this option to convert the image to an image where colors are converted to a set of grays.

Output format -- Select the format for the output images. Use "`<same as the original >`" to create an output in the same format as the original. If the original format is not supported for output, a warning is generated and the output is done in PNG if possible.

Note that if you select a specific format, the exentension is not changed automatically.