TwistPHP Documentation

load

File path: dist/twist/Core/Utilities/Image.utility.php
Namespace: Twist\Core\Utilities
Extends: Base

loadLoad an existing image, and Image object will be produced allowing complete control over the image.
Once all changes have been made you can then export the image as a file or serve to the screen.

Parameters

Name Type Description
$mxdImagemixedn/a

Return Values

void — No return information has been documented for this function.

Example

<?php
//Set the variables for the example
$mxdImage 'foo-123';

//Call the function load with the example vars
Twist::Image() -> load($mxdImage);