PixelCraft::getImageBase
Returns current instance image as base64 encoded text
Signature
public function getImageBase([string
$type = 'png',
[boolean
$htmlData = false]] )
Parameters
$type
— string- image mime type
$htmlData
— boolean- data ready to embed as img src HTML base64 data (data URI scheme)
Returns
- void