Lines Matching refs:max

288 				$this->php_memory_limit = max($this->php_memory_limit, $php_config_memory_limit);
309 $this->phpThumbDebug = (null === $this->phpThumbDebug ? 9 : max(1, (int) $this->phpThumbDebug));
1096 $this->thumbnailQuality = max(1, min(99, ($this->q ? (int) $this->q : 75)));
1865 $wAll = (int) max($this->w, $this->wp, $this->wl, $this->ws) - (2 * $borderThickness);
1866 $hAll = (int) max($this->h, $this->hp, $this->hl, $this->hs) - (2 * $borderThickness);
1869 …$side = phpthumb_functions::nonempty_min($this->source_width, $this->source_height, max($wAll, $h…
1873 $thumbnailH = round(max($sideY, ($sideY * $zcAR) / $imAR));
2056 $contDiv10 = max($contDiv10, -100);
2103 …$commandline .= ' -colorize '.phpthumb_functions::escapeshellarg_replacement(min(max((int) $amount…
2113 …$commandline .= ' -sepia-tone '.phpthumb_functions::escapeshellarg_replacement(min(max((int) $amou…
2121 $amount = min(max((float) $amount, 0.001), 10);
2140 …$commandline .= ' -threshold '.phpthumb_functions::escapeshellarg_replacement(round(min(max((int) …
2152 …$commandline .= ' -colors '.phpthumb_functions::escapeshellarg_replacement(max($colors, 8)); // Im…
2193 $threshold = ((strlen($threshold) > 0) ? min(max((float) $threshold, 0), 100) : 0.1);
2254 $threshold = (!empty($threshold) ? min(max((float) $threshold, 0), 100) : 0.1);
2270 $radius = (!empty($radius) ? min(max((int) $radius, 0), 25) : 1);
2278 $radius = (!empty($radius) ? min(max((int) $radius, 0), 25) : 1);
2292 $amount = ($amount ? min(max((int) $amount, 0), 255) : 80);
2293 $radius = ($radius ? min(max((int) $radius, 0), 10) : 0.5);
2294 $threshold = ('' !== $threshold ? min(max((int) $threshold, 0), 50) : 3);
2688 …$leftoffset = max(0, round(($this->thumbnail_width - (strlen($textline) * imagefontwidth($this->co…
3010 $margin = max(-0.499, $margin);
3023 …$resized_x = max(1, imagesx($this->gdimg_output) - round(2 * (imagesx($this->gdimg_output) * $marg…
3024 …$resized_y = max(1, imagesy($this->gdimg_output) - round(2 * (imagesy($this->gdimg_output) * $marg…
3026 $resized_x = max(1, imagesx($this->gdimg_output) - round(2 * $margin));
3027 $resized_y = max(1, imagesy($this->gdimg_output) - round(2 * $margin));
3086 $margin[$xy] = max(-0.499, $margin[$xy]);
3341 …$this->thumbnailCropW = max(1, min($this->thumbnailCropW, $this->source_width - $this->thumbnailC…
3342 …$this->thumbnailCropH = max(1, min($this->thumbnailCropH, $this->source_height - $this->thumbnailC…
3417 $this->thumbnail_width = max(1, floor($this->thumbnail_width));
3418 $this->thumbnail_height = max(1, floor($this->thumbnail_height));
4171 … return 'string('.strlen($var).')'.str_repeat(' ', max(0, 3 - strlen(strlen($var)))).' "'.$var.'"';
4323 …$DebugOutput[] = ' * Total processing time: '.number_format(max(array_keys($this->debugtiming)) -…
4383 $height = max($height, count($LinesOfText) * $FontHeight);