src/wcmf/lib/io/ImageUtil.php
private static function resizeImage($sourceFile, $destFile, $width) {
    $image = new \Gumlet\ImageResize($sourceFile);
    $image->resizeToWidth($width);
    $image->save($destFile);
  }
private static function resizeImage($sourceFile, $destFile, $width) {
    $image = new \Gumlet\ImageResize($sourceFile);
    $image->resizeToWidth($width);
    $image->save($destFile);
  }
private static function resizeImage ( $ sourceFile , $ destFile , $ width ) { $ image = new \ Gumlet \ ImageResize ( $ sourceFile ) ; $ image -> resizeToWidth ( $ width ) ; $ image -> save ( $ destFile ) ; }
Resize the given image to the given width
@param $sourceFile
@param $destFile
@param $width
Resize the given image to the given width