table-with-images/image_insert_read_ver2.py
- download repo
- open image_insert_read_ver2.py version
- create a db called db_with_blob (I use Mysql Worbench 8.0)
- run the program
- first insert an image (you can use sir.jpg which is provided in this repo)
- now the image is inserted into the database table (check it with your db management tool)
- to read it press 2
- now you can see e.g.'img1.jpg' in the image_output folder that has just been created in your local directory