I have a bmp image saved in the database, but this file is already in the database and was not included in the framework, I would just like to know how I can display this image in the view.
Note: I've already tried the method:
No Controller:
I get the desired records and access the field containing the image.
$query->resultado;
In View:
<img src="{{asset('data:image/bmp;base64,'.base64_encode($query->resultado).'')}}">
I tried other ways indicated on the internet and I was not successful, if anyone can give me some light that is already would help me a lot.