~~Title: Image ~~
The **Image** internal command can be used to:
* Change the format of images
* Resize and rotate images
* Upload or synchronize images with an online service
* Locate an image using its embedded GPS information
The `Image CONVERT` command displays the [[:additional_functionality:image_conversion|image conversion]] dialog in interactive mode, letting you select the conversion options to apply to selected images. Using the various arguments of this command it is possible to automate the image conversion function. The image conversion function can accept as input any image format that Opus is able to view (including those supported by plugins), but can only output in JPEG, PNG, GIF or Bitmap formats.
**Command Arguments:**
$$ Argument
$$ Type
$$ Possible values
$$ Description
$$ ADDSUFFIX
$$ /O
$$ //(no value)//
$$ Add a suffix to the output filename when resizing images. The suffix used indicates the new image size. If the image is not resized, no suffix is added.
``Image CONVERT=jpg WIDTH=1024 HEIGHT=768 ADDSUFFIX``
$$
$$
$$ ////
$$ Adds the specified suffix to the output filename.
``Image CONVERT=jpg WIDTH=128 HEIGHT=128 ADDSUFFIX=thumb``
The specified suffix is used provided a new image is written, but there are cases where no image will be written by default, such as when converting images in-place (not to a separate destination directory) and the source image already matches the specified criteria. If you need to ensure that a second copy of the image is created no matter what, using the specified suffix to modify its name, then you should prefix the suffix with the keyword **always:**.
``Image CONVERT=jpg WIDTH=128 HEIGHT=128 ADDSUFFIX=always:thumb``
$$ AS
$$ /K
$$ //