cImgBase64 := strtran( strtran( cImgBase64 ), CRLF ), "=" )
cImgBase64 := STRTRAN(cImgBase64,CRLF,'')
+ '<img src=\"data:image/jpeg;base64,' + cImgBase64 + '\" > ';
+ '<img src="data:image/jpeg;base64,'+alltrim(cImgBase64)+'">';
cRaw := memoReady( "yourFile" )
cBase64 := hb_base64encode( cRaw, len( cRaw ) )