TwistPHP Documentation

outputRaw

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

outputRawGet the raw data of an image that can be output as a file, served to the screen or transformed into a base64 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 outputRaw with the example vars
$resImage = new \Twist\Core\Models\Image\Image();
$resImage -> outputRaw($strFormat$intQuality);