프로퍼티 | 타입 | 설명 | |
---|---|---|---|
$CMYKColorProfile | string | ||
$RGBColorProfile | string | ||
$imagePath | string | ||
$resource |
메소드 | 설명 | |
---|---|---|
addOverlay ( string $image, integer $x, integer $y, integer $alpha = 100, $composite = "COMPOSITE_DEFAULT", string $origin = 'top-left' ) : self | ||
addOverlayFit ( $image, string $composite = "COMPOSITE_DEFAULT" ) | ||
applyMask ( $image ) : self | ||
brightnessSaturation ( integer $brightness = 100, integer $saturation = 100, integer $hue = 100 ) | ||
crop ( $x, $y, $width, $height ) : self | ||
frame ( $width, $height ) | ||
gaussianBlur ( integer $radius, float $sigma = 1 ) | ||
getCMYKColorProfile ( ) : string | ||
getDimensions ( ) : array | ||
getRGBColorProfile ( ) : string | ||
getVectorFormatEmbeddedRasterDimensions ( ) : array | null | ||
getVectorRasterDimensions ( ) : array | ||
grayscale ( ) : self | ||
isVectorGraphic ( null $imagePath = null ) : boolean | ||
load ( $imagePath, array $options = [] ) | ||
mirror ( $mode ) | ||
resize ( $width, $height ) : self | ||
rotate ( $angle ) | ||
roundCorners ( $width, $height ) | ||
save ( $path, null $format = null, null $quality = null ) | ||
sepia ( ) : self | ||
setBackgroundColor ( $color ) : self | ||
setBackgroundImage ( $image, null | string $mode = null ) | ||
setCMYKColorProfile ( string $CMYKColorProfile ) | ||
setColorspaceToRGB ( ) | ||
setRGBColorProfile ( string $RGBColorProfile ) | ||
sharpen ( integer $radius, float $sigma = 1, float $amount = 1, float $threshold = 0.05 ) | ||
trim ( $tolerance ) : self |
메소드 | 설명 | |
---|---|---|
createImage ( $width, $height, $color = "transparent" ) : |
||
destroy ( ) : void | ||
hasAlphaChannel ( ) : boolean |
public addOverlay ( string $image, integer $x, integer $y, integer $alpha = 100, $composite = "COMPOSITE_DEFAULT", string $origin = 'top-left' ) : self | ||
$image | string | |
$x | integer | Amount of horizontal pixels the overlay should be offset from the origin |
$y | integer | Amount of vertical pixels the overlay should be offset from the origin |
$alpha | integer | Opacity in a scale of 0 (transparent) to 100 (opaque) |
$origin | string | Origin of the X and Y coordinates (top-left, top-right, bottom-left, bottom-right or center) |
리턴 | self |
public addOverlayFit ( $image, string $composite = "COMPOSITE_DEFAULT" ) | ||
$image | ||
$composite | string |
protected createImage ( $width, $height, $color = "transparent" ) : |
||
$width | ||
$height | ||
리턴 |
public gaussianBlur ( integer $radius, float $sigma = 1 ) | ||
$radius | integer | |
$sigma | float |
public getVectorFormatEmbeddedRasterDimensions ( ) : array | null | ||
리턴 | array | null |
public isVectorGraphic ( null $imagePath = null ) : boolean | ||
$imagePath | null | |
리턴 | boolean |
public setBackgroundImage ( $image, null | string $mode = null ) | ||
$image | ||
$mode | null | string |
public static setCMYKColorProfile ( string $CMYKColorProfile ) | ||
$CMYKColorProfile | string |
public static setRGBColorProfile ( string $RGBColorProfile ) | ||
$RGBColorProfile | string |