[Vala] Genie + Gtk: Image Base64



Hello,

I would like to know if in Genie (with Gtk +) I can visualize an image
that I have as a string in base64 format?

I tried to use Base64.decode like this:

Decoded: string = (string) Base64.decode ("iVBORw0KGgoAAAAN ...")

But I do not know if this can be translated somehow to Gdk.Pixbuf?

Happy day!



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