I have a backend made in java where I persist images in a psql database using hibernate, the images I am saving in with the data type Byte []. On the other hand I am developing a client application in angular 2, with this client application I made the connection with the backend and consumed via rest the object with its image property. The question is, how do I regenerate the image of the object consumed from the server (property in bytes) or some idea of how to work with the treatment of images consumed from the server and regenerated in the client? Thank you very much.