Searched refs:imagePath (Results 1 – 4 of 4) sorted by relevance
215 $imagePath = Site::getLogoAsRasterImage()->getSourcePath();216 $gdOriginalLogo = $this->getGdImageHandler($imagePath);280 private function getGdImageHandler(WikiPath $imagePath) argument283 $imagePath = $imagePath->toLocalPath();284 $extension = FileSystems::getMime($imagePath)->getExtension();288 return imagecreatefrompng($imagePath->toAbsoluteId());291 return imagecreatefromjpeg($imagePath->toAbsoluteId());293 return imagecreatefromwebp($imagePath->toAbsoluteId());
206 $imagePath = $this->mediaMarkup->getPath();207 if (!FileSystems::exists($imagePath)) {208 throw new ExceptionNotFound("The image ($imagePath) does not exist");214 $imageSize = FileSystems::getSize($imagePath);
97 … $imagePath = FeaturedImage::createFromResourcePage($contextPage)->getValue();103 $imageFetcher = IFetcherLocalImage::createImageFetchFromPath($imagePath);105 …lity::warning("Error while creating the fetcher for the feature image ($imagePath) and the page ($…
88 $imagePath = $value[PageImagePath::PERSISTENT_NAME];90 $imagePath = $value;93 $imagePath = $key;101 WikiPath::addRootSeparatorIfNotPresent($imagePath);102 $imagePathObject = WikiPath::createMediaPathFromPath($imagePath);107 $images[$imagePath] = $pageImage;