Currentely I’m working on a project to save data in a database along with a picture.
My first idea was to convert the image to a byte array, and safe this in the database as a BLOB.
But is this possible .?
Because I can’t find a way to convert the Image to al byte array…
(the image comes from the class CameraHandler from the function getCameraSnapshot())
Or is there a better way to store the picture data.?
Thanks in advance.