Loading a Pixbuf from sqlite



Hello,

I'm working on a image cache for my application. For now I think it's a
smart idea to use sqlite and store the images into the database. My
application like to show the images in a Gtk::IconView.

There's a create_from_data() function, but I read the docs as it gets
raw RGB data. But I store the images into the DB as I get it (e.g. PNG
or JPEG). Isn't there a solution to load an image from memory like from
a file?

regards
Andreas


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]