Home
last modified time | relevance | path

Searched refs:crop (Results 1 – 6 of 6) sorted by path

/dokuwiki/inc/Cache/
H A DCacheImageMod.php18 * @param bool $crop Is this a crop?
20 public function __construct($file, $w, $h, $ext, $crop)
23 $fullext .= $crop ? '.crop' : '';
21 __construct($file, $w, $h, $ext, $crop) global() argument
/dokuwiki/inc/
H A Dmedia.php1770 * 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 image
1704 media_mod_image($file, $ext, $w, $h = 0, $crop = false) global() argument
[all...]
/dokuwiki/vendor/splitbrain/slika/
H A DREADME.md64 ### crop subsection
69 Slika::run('input.jpg')->crop(500,500)->save('output.png', 'png');
/dokuwiki/vendor/splitbrain/slika/src/
H A DAdapter.php78 abstract public function crop($width, $height); function in splitbrain\\slika\\Adapter
H A DGdAdapter.php136 public function crop($width, $height) function in splitbrain\\slika\\GdAdapter
341 * Calculates crop position
354 throw new Exception('You can not crop to 0x0');
388 // calculate crop offset
396 * resize or crop images using PHP's libGD support
400 * @param int $offsetX offset of crop centre
401 * @param int $offsetY offset of crop centre
H A DImageMagickAdapter.php82 public function crop($width, $height) function in splitbrain\\slika\\ImageMagickAdapter
85 throw new Exception('You can not crop to 0x0');
97 $this->args[] = '-crop';