Devise
Class

Devise\Images\Images

class Images

Methods

copyImage($fromImagePath, $toImagePath)

cropImage($imagePath, $cropWidth, $cropHeight, $cropX, $cropY)

resizeImage($imagePath, $width, $height)

cropAndResizeImage($imagePath, $width, $height, $cropWidth, $cropHeight, $cropX, $cropY)

saveImage(Imagick $image, $path)

Details

at line 7
public copyImage($fromImagePath, $toImagePath)

Parameters

$fromImagePath
$toImagePath

at line 27
public cropImage($imagePath, $cropWidth, $cropHeight, $cropX, $cropY)

Parameters

$imagePath
$cropWidth
$cropHeight
$cropX
$cropY

at line 40
public resizeImage($imagePath, $width, $height)

Parameters

$imagePath
$width
$height

at line 59
public cropAndResizeImage($imagePath, $width, $height, $cropWidth, $cropHeight, $cropX, $cropY)

Parameters

$imagePath
$width
$height
$cropWidth
$cropHeight
$cropX
$cropY

at line 70
public saveImage(Imagick $image, $path)

Parameters

Imagick $image
$path