use Bitrix\Main\File\Image; $img = new Image('path/to/image.jpg'); $resized = $img->ResizeImageGet(200, 150); $resized->SaveToFile('path/to/resized_image.jpg');In this example, we create a new Image object by passing the path to the original image file. We then call the ResizeImageGet method and pass in the desired width and height (200 and 150 in this case). The method returns a new Image object that represents the resized image. We then save this new image to a file using the SaveToFile method. This code example is likely using the Bitrix CMS package library, as indicated by the `use Bitrix\Main\File\Image` statement at the beginning of the code.