How to extract sqlite file
That's odd, photos are usually stored within a DCIM directory of the SD-Card. Never heard that one would store them as binary blob within a sqlite db. 

Anyways, you cold discover the contents of the sqlite db with the sqlite (sometimes sqlite3) tool. But you need some basic understanding of SQL syntax.