get

function get($patient,  
$id,  
$convert_to =  false)

Fetch image

Parameters

$patientRecord ID of patient
$idimages table ID or “identification”
$convert_to(optional) String or boolean false.  Determines format for optional conversion.  Defaults to false.
  • bmp - Windows bitmap format
  • jpeg - JPEG image format

Returns

Image binary data