Any type file can be stored in a database as a binary large object (BLOB). But unless you need ability to do advanced search on the image's metadata or if you need fine grained access persmissions for the files, there are normally few advantages of doing so. Unless you need those features, you may acheive your goals by storing a file path to the image in a columns in the database and store the metadata of the image in the RDBMS.
I think you want live data from webcam to be stored to DB directly.
If you implement storing live web cam images to DB as BLOB , DB size grows like any thing.
You have two choices.
1. Take a Picture from Cam, Compress it, & put in DB as BLOB
or
Take a Picture,you name it as base image, put it in DB.
Now take Second Image find differences between Base Image and current one, store the differences alone in DB.I think this will reduce DB size considerably.
All Current Images must be compared with Base Image and its difference need to be stored.
Now about retrieving,
If you have 10 differences, and you want last image, Now apply 10th Difference to Base Image, Now you will get the picture.