Home
last modified time | relevance | path

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

/dokuwiki/inc/Cache/
H A DCacheImageMod.php18 * @param bool $crop Is this a crop?
20 public function __construct($file, $w, $h, $ext, $crop) argument
23 $fullext .= $crop ? '.crop' : '';
/dokuwiki/inc/File/
H A DMediaFile.php165 * @param bool $crop true for center-crop, false for bounding-box fit
168 public function getDisplayDimensions($w = 0, $h = 0, $crop = false) argument
176 if ($crop) return $info->crop($w, $h)->getDimensions();
/dokuwiki/vendor/splitbrain/slika/src/
H A DAdapter.php78 abstract public function crop($width, $height); function in splitbrain\\slika\\Adapter
H A DImageMagickAdapter.php82 public function crop($width, $height) function in splitbrain\\slika\\ImageMagickAdapter
H A DImageInfo.php187 public function crop($width, $height) function in splitbrain\\slika\\ImageInfo
H A DGdAdapter.php115 public function crop($width, $height) function in splitbrain\\slika\\GdAdapter
/dokuwiki/vendor/splitbrain/slika/
H A DREADME.md64 ### crop subsection
69 Slika::run('input.jpg')->crop(500,500)->save('output.png', 'png');
114 // the fluent chain simulates autorotate/rotate/resize/crop
/dokuwiki/inc/
H A Dmedia.php1724 * @param bool $crop should a center crop be used?
1727 function media_mod_image($file, $ext, $w, $h = 0, $crop = false) argument
1734 $operation = $crop ? 'crop' : 'resize';
1741 $cache = new CacheImageMod($file, $w, $h, $ext, $crop);