从数据开罗载入图片 [英] Cairo load image from data

查看:172
本文介绍了从数据开罗载入图片的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我有开罗图书馆疑问。

我下载了一个形象,我把它变成一个缓冲存储器中。有没有在开罗任何解决方案来加载从数据的图像有记忆?

I downloaded an image and I put it into a buffer memory. Is there any solution in cairo to load an image from data that there is in memory?

感谢

推荐答案

也许你想要的东西,比如 gdk_pixbuf_new_from_data

Maybe you want something like gdk_pixbuf_new_from_data

<一个href=\"http://developer.gnome.org/gdk-pixbuf/stable/gdk-pixbuf-Image-Data-in-Memory.html#gdk-pixbuf-new-from-data\" rel=\"nofollow\">http://developer.gnome.org/gdk-pixbuf/stable/gdk-pixbuf-Image-Data-in-Memory.html#gdk-pixbuf-new-from-data

这篇关于从数据开罗载入图片的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆