lsolesen\pel\PelIfd::getThumbnailData PHP Method

getThumbnailData() public method

Returns available thumbnail data.
public getThumbnailData ( ) : string
return string the bytes in the thumbnail, if any. If the IFD does not contain any thumbnail data, the empty string is returned.
    public function getThumbnailData()
    {
        if ($this->thumb_data !== null) {
            return $this->thumb_data->getBytes();
        } else {
            return '';
        }
    }