PHP 클래스 Goose\Images\ImageUtils

파일 보기 프로젝트 열기: scotteh/php-goose 1 사용 예제들

공개 메소드들

메소드 설명
getImageDimensions ( string $filePath ) : object
storeImagesToLocalFile ( string[] $imageSrcs, boolean $returnAll, Configuration $config ) : Goose\Images\LocallyStoredImage[] Writes an image src http string to disk as a temporary file and returns the LocallyStoredImage object that has the info you should need on the image

비공개 메소드들

메소드 설명
getFileExtensionName ( object $imageDetails ) : string
handleEntity ( string[] $imageSrcs, boolean $returnAll, Configuration $config ) : object[] | null

메소드 상세

getImageDimensions() 공개 정적인 메소드

public static getImageDimensions ( string $filePath ) : object
$filePath string
리턴 object

storeImagesToLocalFile() 공개 정적인 메소드

Writes an image src http string to disk as a temporary file and returns the LocallyStoredImage object that has the info you should need on the image
public static storeImagesToLocalFile ( string[] $imageSrcs, boolean $returnAll, Configuration $config ) : Goose\Images\LocallyStoredImage[]
$imageSrcs string[]
$returnAll boolean
$config Goose\Configuration
리턴 Goose\Images\LocallyStoredImage[]