void
createReflection
(int $percent, int $reflection, int $white, [bool $border = true], [string $borderColor = '#a4a4a4'])
-
int
$percent
-
int
$reflection
-
int
$white
-
bool
$border
-
string
$borderColor
void
crop
(int $startX, int $startY, int $width, int $height)
-
int
$startX
-
int
$startY
-
int
$width
-
int
$height
void
cropFromCenter
([int $cropSize = false])
Returns the current width of the image
int
getCurrentWidth
()
void
resize
([int $maxWidth = 0], [int $maxHeight = 0])
-
int
$maxWidth
-
int
$maxHeight
void
resizePercent
([int $percent = 0])
void
rotateImage
([string $direction = 'CW'])
void
save
(string $name, [int $quality = 100])
-
string
$name
-
int
$quality
void
show
([int $quality = 100], [string $name = ''])
-
int
$quality
-
string
$name