Resize a picture to the new size
static public resizePicture ( $source_path, $dest_path, $new_width = 71, $new_height = 71, $img_y, $img_x, $img_width, $img_height, $max_size = 500 ) : boolean | ||
$source_path | string path of the picture to be resized | |
$dest_path | string path of the new resized picture | |
$new_width | string new width after resized (default 71) | |
$new_height | string new height after resized (default 71) | |
$img_y | string y axis of picture (default 0) | |
$img_x | string x axis of picture (default 0) | |
$img_width | string width of picture (default 0) | |
$img_height | string height of picture (default 0) | |
$max_size | integer max size of the picture (default 500, is set to 0 no resize) | |
리턴 | boolean | : true or false |