I think it would be better to save files in a service such as AWS S3 amd then put links into the db to reference the image.
You could store the file in binary form in a string format and then store it in the db and decode it to the correct mime type in a UI.
I read an article somewhere about storing images in a graphdb, let me try to find that.
Try looking over this:
https://blog.fullstacktraining.com/image-management-via-graphql/