| /dokuwiki/vendor/splitbrain/slika/src/ |
| H A D | Adapter.php | 64 … * @param bool $upscale when false, an image smaller than the target is kept at its original size 67 abstract public function resize($width, $height, $upscale = true); argument 77 …* @param bool $upscale when false, an image smaller than the target area is cropped but never enla… 80 abstract public function crop($width, $height, $upscale = true); argument
|
| H A D | ImageInfo.php | 165 … * @param bool $upscale when false, an image smaller than the target is kept at its original size 169 public function resize($width, $height, $upscale = true) argument 171 list($w, $h) = self::boundingBox($this->width, $this->height, $width, $height, $upscale); 185 …* @param bool $upscale when false, an image smaller than the target area is cropped but never enla… 189 public function crop($width, $height, $upscale = true) argument 205 if (!$upscale && ($width > $this->width || $height > $this->height)) { 276 * @param bool $upscale when false, the result is never larger than the original 280 public static function boundingBox($origW, $origH, $width, $height, $upscale = true) argument 301 if (!$upscale && $scale > 1) {
|
| H A D | ImageMagickAdapter.php | 63 public function resize($width, $height, $upscale = true) argument 72 if (!$upscale) $size .= '>'; 83 public function crop($width, $height, $upscale = true) argument 97 $this->args[] = $upscale ? "$size^" : "$size^>";
|
| H A D | GdAdapter.php | 104 public function resize($width, $height, $upscale = true) argument 106 …($width, $height) = ImageInfo::boundingBox($this->width, $this->height, $width, $height, $upscale); 115 public function crop($width, $height, $upscale = true) argument 126 if (!$upscale && ($width > $this->width || $height > $this->height)) {
|
| /dokuwiki/inc/Cache/ |
| H A D | CacheImageMod.php | 19 … * @param bool $upscale Was upscaling allowed? Same dimensions yield different output when disabled 21 public function __construct($file, $w, $h, $ext, $crop, $upscale = true) argument 25 $fullext .= $upscale ? '' : '.noup';
|
| /dokuwiki/inc/ |
| H A D | media.php | 1735 * @param bool $upscale when false, a smaller image is kept at its original size 1738 function media_mod_image($file, $ext, $w, $h = 0, $crop = false, $upscale = true) argument 1752 $cache = new CacheImageMod($file, $w, $h, $ext, $crop, $upscale); 1757 ->$operation($w, $h, $upscale) 1778 * @param bool $upscale when false, a smaller image is kept at its original size 1781 function media_resize_image($file, $ext, $w, $h = 0, $upscale = true) argument 1783 return media_mod_image($file, $ext, $w, $h, false, $upscale);
|
| /dokuwiki/vendor/splitbrain/slika/ |
| H A D | README.md | 82 Cropping also accepts the `$upscale` parameter. When set to `false` an image that is
|