Skip to content

ConvertImage

Homes32 edited this page May 14, 2022 · 1 revision

ConvertImage

Convert an image (jpg/png/etc.) to another format.

Syntax

ConvertImage,<Source>,<Target>[,<Resize>]

Arguments

Argument Description
Source The full path to the image file.
Target The full path to the converted image file.
Resize (Optional) Resize the image.

Return Codes

None.

Remarks

If image conversion fails the build will halt.

Related

Examples

Example 1

Convert an image from .png to .bmp and resize it to 120x120


ConvertImage,"C:\myLogo.png","%TargetSystem32%\OEMLogo.bmp",120x120