[Mono-devel-list] In memory transform from byte[] to pixbuf
Miguel de Icaza
miguel at ximian.com
Sun Oct 17 12:07:35 EDT 2004
Hello,
> now, i have to do the opposite... 8)
> i got a PixBuf loaded from a file, and scalled. (the reason why i open
> it as a pixbuf... the ScaleSimple...)
>
> this pixbuf, i need to save it in my database. im doing this with
> DbType.Binary, and try to change it to typeof(Pixbuf) but obviously the
> database doesnt know how to handle that:
Currently you have to save it into a file, and then store the file
contents yourself.
Another option is to store the RGB[A] buffer, but that is quite large as
it is not compressed.
More information about the Mono-devel-list
mailing list