Re: [pygtk] Saving and reading images from database

2009-11-14 Thread Timo
Frédéric Grollier schreef: > Le vendredi 13 novembre 2009 à 15:15 +0100, Timo List a écrit : > >> My program uses the SQLite database. The database holds some >> information about persons and I want to add a picture for each person. >> Not the path to the file, but the actual image so that the i

Re: [pygtk] Saving and reading images from database

2009-11-13 Thread Frédéric Grollier
Le vendredi 13 novembre 2009 à 15:15 +0100, Timo List a écrit : > My program uses the SQLite database. The database holds some > information about persons and I want to add a picture for each person. > Not the path to the file, but the actual image so that the image also > works if the file is dele

Re: [pygtk] Saving and reading images from database

2009-11-13 Thread John Finlay
Timo List wrote: > My program uses the SQLite database. The database holds some > information about persons and I want to add a picture for each person. > Not the path to the file, but the actual image so that the image also > works if the file is deleted on the harddisk. > > I can save the imag

Re: [pygtk] Saving and reading images from database

2009-11-13 Thread David Ripton
On 2009.11.13 15:15:22 +0100, Timo List wrote: > My program uses the SQLite database. The database holds some information > about persons and I want to add a picture for each person. Not the path to > the file, but the actual image so that the image also works if the file is > deleted on the harddi

[pygtk] Saving and reading images from database

2009-11-13 Thread Timo List
My program uses the SQLite database. The database holds some information about persons and I want to add a picture for each person. Not the path to the file, but the actual image so that the image also works if the file is deleted on the harddisk. I can save the image in a BLOB column as: imgfile