+ 1

how to extract an image from the SQL database ?

import the image from the database to use it in my tkinter gui.

8th Feb 2019, 7:18 PM
hritik singh
hritik singh - avatar
5 Réponses
9th Feb 2019, 1:30 AM
David Carroll
David Carroll - avatar
+ 5
You can store images and other binaries as BLOB datatypes. These could also be stored as base 64 encoded strings. https://dev.mysql.com/doc/refman/8.0/en/blob.html
8th Feb 2019, 7:48 PM
David Carroll
David Carroll - avatar
+ 3
Im just curious why not to save path to image into table field?
13th Feb 2019, 7:53 PM
Lev Tolstoy SPB
Lev Tolstoy SPB - avatar
+ 1
we need to know How did you store the image?
8th Feb 2019, 10:23 PM
FIP
FIP - avatar
0
David Carroll thanks for your answer but i don't have problem in saving the picture to the database the problem arises when i want to show the picture which I've saved in database..help me to how to do it..
8th Feb 2019, 8:11 PM
hritik singh
hritik singh - avatar