Lines Matching refs:source_width
239 public $source_width = null; variable in phpthumb
1834 $this->source_width = $getimagesize[0];
1836 …$this->DebugMessage('source dimensions set to '.$this->source_width.'x'.$this->source_height, __FI…
1853 if ($this->source_width || $this->source_height) {
1867 $imAR = $this->source_width / $this->source_height;
1869 …$side = phpthumb_functions::nonempty_min($this->source_width, $this->source_height, max($wAll, $h…
1870 …$sideX = phpthumb_functions::nonempty_min($this->source_width, $wAll, round(…
1926 …s->sw ? (($this->sw < 2) ? round($this->sw * $this->source_width) : $this->sw) : $this->source_wi…
1928 $crop_param .= '+'.(($this->sx < 2) ? round($this->sx * $this->source_width) : $this->sx);
1948 $this->h = ceil($this->w / ($this->source_width / $this->source_height));
1950 $this->w = ceil($this->h * ($this->source_width / $this->source_height));
1983 $this->h = ceil($this->w / ($this->source_width / $this->source_height));
1985 $this->w = ceil($this->h * ($this->source_width / $this->source_height));
2423 $this->source_width = imagesx($this->gdimg_source);
2425 …ageCreateFunction.'() succeeded, $this->gdimg_source is now ('.$this->source_width.'x'.$this->sour…
2526 } elseif (($this->ar == 'l') && ($this->source_height > $this->source_width)) {
2528 } elseif (($this->ar == 'L') && ($this->source_height > $this->source_width)) {
2530 } elseif (($this->ar == 'p') && ($this->source_width > $this->source_height)) {
2532 } elseif (($this->ar == 'P') && ($this->source_width > $this->source_height)) {
2541 $this->source_width = imagesx($this->gdimg_source);
3329 …mensions() starting with [W,H,sx,sy,sw,sh] initially set to ['.$this->source_width.','.$this->sour…
3331 …CropX = ($this->sx ? (($this->sx >= 2) ? $this->sx : round($this->sx * $this->source_width)) : 0);
3335 … ? (($this->sw >= 2) ? $this->sw : round($this->sw * $this->source_width)) : $this->source_width);
3341 …$this->thumbnailCropW = max(1, min($this->thumbnailCropW, $this->source_width - $this->thumbnailC…
3352 $scaling_X = $this->source_width / $this->w;
3356 $allowable_width = $this->source_width / $scaling_X * $scaling_Y;
3358 $this->thumbnailCropX = round(($this->source_width - $allowable_width) / 2);
3457 …$this->DebugMessage('SetOrientationDependantWidthHeight() starting with "'.$this->source_width.'"x…
3458 if ($this->source_height > $this->source_width) {
3462 } elseif ($this->source_height < $this->source_width) {
3486 $this->source_width = $this->getimagesizeinfo[0];
3488 …ssage('getimagesize('.$this->sourceFilename.') says image is '.$this->source_width.'x'.$this->sour…
3501 $this->source_width = imagesx($this->gdimg_source);
3508 if ($this->SourceImageIsTooLarge($this->source_width, $this->source_height)) {
3509 …se source image is too large for GD ('.$this->source_width.'x'.$this->source_width.'='.($this->sou…
3511 …ource image is not too large for GD ('.$this->source_width.'x'.$this->source_width.'='.($this->sou…
3531 $this->source_width = $this->getimagesizeinfo[0];
3592 $source_ar = $this->source_width / $this->source_height;
3616 $this->source_width = imagesx($this->gdimg_source);
3622 …if (($this->config_max_source_pixels > 0) && (($this->source_width * $this->source_height) > $this…
3628 …Message('image is '.$this->source_width.'x'.$this->source_height.' and therefore contains more pix…
3850 $this->source_width = imagesx($this->gdimg_source);
3852 …ageToGD() because $this->gdimg_source is already a resource ('.$this->source_width.'x'.$this->sour…
3880 if ($this->SourceImageIsTooLarge($this->source_width, $this->source_height)) {
3882 …source_width.'x'.$this->source_height.' = '.number_format($this->source_width * $this->source_heig…
3915 if (!$this->SourceImageIsTooLarge($this->source_width, $this->source_height)) {
3931 if (!$this->SourceImageIsTooLarge($this->source_width, $this->source_height)) {
3950 $source_ar = $this->source_width / $this->source_height;
3965 $this->source_width = $this->exif_thumbnail_width;
3967 $this->thumbnailCropW = $this->source_width;
4118 $this->source_width = imagesx($this->gdimg_source);
4150 $this->source_width = imagesx($this->gdimg_source);