Tutorial needed to store image into MongoDB

Hi expert,
I am new to MongoDB and I need to know how to store images into MongoDB. I am working with Java and SpringBoot.
Please point me to useful and easy to follow tutorials. Tks.

I use GridFS for this.

Here is the javadoc for Package com.mongodb.client.gridfs

Here’s the Java driver GridFS tutorial.