TwistPHP Documentation

outputBase64

File path: dist/twist/Core/Models/Image/Image.model.php
Namespace: Twist\Core\Models\Image
Extends:

outputBase64Outputs the image as a Base64 encoded string

Parameters

Name Type Description
[$strFormat = null]stringn/a
[$intQuality = null]integern/a

Return Values

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

Example

<?php
//Set the variables for the example
$strFormat null;
$intQuality null;

//Call the function outputBase64 with the example vars
$resImage = new \Twist\Core\Models\Image\Image();
$resImage -> outputBase64($strFormat$intQuality);