Loading the image
Load an image by calling the static
load method on the
Image and passing in the
$image = Image::load(string $pathToImage);
Any of the image manipulations can be applied to the loaded
Image by calling the manipulation's method. All image manipulation methods can be chained.
Saving the image
save method on an
Image will save the modifications to the original file. You can save your modified image by passing a
$outputPath to the
To save the image in a different image format or with a different jpeg quality see saving images.