# ResizeImage

## Description

Resizes an image to new width and height. If the image is an atlas image then its subimages.txt values will also be resized so that LoadSubImage will still work. Note that if you have previously used LoadSubImage on this image then resizing it will make those sub images display incorrectly. This command will not work on sub images themselves.

## Definition

ResizeImage( imageID, width, height )

void agk::ResizeImage( UINT imageID, int width, int height )

## Parameters

- imageID - The ID of the image to resize
- width - The new width of the image
- height - The new height of the image