Lines Matching defs:crop
1770 * Resizes or crop the given image to the given size
1778 * @param bool $crop should a center crop be used?
1781 function media_mod_image($file, $ext, $w, $h = 0, $crop = false)
1788 $operation = $crop ? 'crop' : 'resize';
1795 $cache = new CacheImageMod($file, $w, $h, $ext, $crop);
1852 * @param int $w resize/crop width
1853 * @param int $h resize/crop height
1989 * crop images using external ImageMagick convert program
2000 * @param int $ofs_x offset of crop centre
2001 * @param int $ofs_y offset of crop centre
2015 $cmd .= ' -crop ' . $to_w . 'x' . $to_h . '+' . $ofs_x . '+' . $ofs_y;
2027 * resize or crop images using PHP's libGD support
2039 * @param int $ofs_x offset of crop centre
2040 * @param int $ofs_y offset of crop centre