JImage::toFile
Method to write the current image out to a file.
Signature
public function toFile(string
$path,
[integer
$type = IMAGETYPE_JPEG,
array
$options] )
Parameters
-
$path
- The filesystem path to save the image.
-
$type
- The image type to save the file as.
-
$options
- The image type options to use in saving the file.
Returns
- boolean