How to display Image from db(bytes)

I have following question.
In database I have stored images as bytes.
How can I create in Flow an Image and display?

Here there is a blog that deals with the same problem:

https://vaadin.com/blog/saving-and-displaying-images-using-jpa

An example can be found in the following GitHub repository:

https://github.com/DiegoSanzVi/saving_displaying_images_db

Diego,
Thanks a lot!
It is really helpfull!
Maciek