uawdijnntqw1x1x1
IP : 216.73.216.30
Hostname : xhost1.intravision.ru
Kernel : Linux xhost1.intravision.ru 3.16.0-7-amd64 #1 SMP Debian 3.16.59-1 (2018-10-03) x86_64
Disable Function : pcntl_alarm,pcntl_fork,pcntl_waitpid,pcntl_wait,pcntl_wifexited,pcntl_wifstopped,pcntl_wifsignaled,pcntl_wexitstatus,pcntl_wtermsig,pcntl_wstopsig,pcntl_signal,pcntl_signal_dispatch,pcntl_get_last_error,pcntl_strerror,pcntl_sigprocmask,pcntl_sigwaitinfo,pcntl_sigtimedwait,pcntl_exec,pcntl_getpriority,pcntl_setpriority,
OS : Linux
PATH:
/
var
/
www
/
tiskom
/
data
/
www
/
tiskom.xhost.intravision.ru
/
bitrix
/
modules
/
main
/
lib
/
.
/
File
/
Image
/
Info.php
/
/
<?php /** * Bitrix Framework * @package bitrix * @subpackage main * @copyright 2001-2020 Bitrix */ namespace Bitrix\Main\File\Image; use \Bitrix\Main\File\Image; class Info { protected $width, $height, $format, $attributes, $mime; /** * @return int */ public function getWidth() { return $this->width; } /** * @param int $width * @return Info */ public function setWidth($width) { $this->width = $width; return $this; } /** * @return int */ public function getHeight() { return $this->height; } /** * @param int $height * @return Info */ public function setHeight($height) { $this->height = $height; return $this; } /** * @return int */ public function getFormat() { return $this->format; } /** * @param int $format * @return Info */ public function setFormat($format) { $this->format = $format; return $this; } /** * @return string */ public function getAttributes() { return "width=\"{$this->getWidth()}\" height=\"{$this->getHeight()}\""; } /** * @return string */ public function getMime() { return $this->mime; } /** * @param string $mime * @return Info */ public function setMime($mime) { $this->mime = $mime; return $this; } /** * Swaps width and height. * @return Info */ public function swapSides() { $tmp = $this->getHeight(); $this->setHeight($this->getWidth()) ->setWidth($tmp); return $this; } /** * Returns true for known image formats. * @return bool */ public function isSupported() { static $knownTypes = null; if($knownTypes === null) { $knownTypes = [ Image::FORMAT_PNG => 1, Image::FORMAT_JPEG => 1, Image::FORMAT_GIF => 1, Image::FORMAT_BMP => 1, ]; if(function_exists("imagecreatefromwebp")) { $knownTypes[Image::FORMAT_WEBP] = 1; } } return isset($knownTypes[$this->getFormat()]); } }
/var/www/tiskom/data/www/tiskom.xhost.intravision.ru/bitrix/modules/main/lib/./File/Image/Info.php