[Gambas-user] Sqlite and Gambas and image blobs

M. Cs. mohareve at ...626...
Fri Feb 5 14:05:26 CET 2010


Hi,
I'd like to know how can I store image thumbnails (~10 KByte each) inside
the sqlite database using Gambas. I'd like to use the stored thumbs as
preview images, so I'd have to know how to read the blob data out of
database and use it as a content of a Picture container.

Once more:
CREATE TABLE thumbs(name TEXT, img BLOB);
I suppose that would create a table for thumbnails. How to write into
thumbs, and how to get back the image, let say into PicFrame?
Thanks!



More information about the User mailing list