Home
last modified time | relevance | path

Searched refs:to_w (Results 1 – 1 of 1) sorted by relevance

/dokuwiki/inc/
H A Dmedia.php2075 * @param int $to_w desired width
2079 function media_resize_imageIM($ext,$from,$from_w,$from_h,$to,$to_w,$to_h){ argument
2087 $cmd .= ' -resize '.$to_w.'x'.$to_h.'!';
2108 * @param int $to_w desired width
2115 function media_crop_imageIM($ext,$from,$from_w,$from_h,$to,$to_w,$to_h,$ofs_x,$ofs_y){ argument
2124 $cmd .= ' -crop '.$to_w.'x'.$to_h.'+'.$ofs_x.'+'.$ofs_y;
2146 * @param int $to_w desired width
2153 function media_resize_imageGD($ext,$from,$from_w,$from_h,$to,$to_w,$to_h,$ofs_x=0,$ofs_y=0){ argument
2160 if(!is_mem_available(($from_w * $from_h * 4) + ($to_w * $to_h * 4))){
2181 $newimg = @imagecreatetruecolor ($to_w, $to_h);
[all …]