什么样的形象格式由GDK-PIXBUF(GTK的形象?)默认支持? [英] What image formats are supported by Gdk-Pixbuf (Gtk-Image?) by Default?
问题描述
我知道,GDK-PIXBUF支持PNG和JPG,但我无法找到所有的完全(或部分)支持的图片格式在互联网上任何地方的的详细列表的。这是必要的我当前的项目,因为我需要检查每一个文件的扩展名的目录,并确定它是否是由GDK-pixbuf的支持与否。任何帮助吗?
I know that Gdk-Pixbuf supports png and jpg, but I cannot find an exact list of all the completely (or partially) supported image formats anywhere on the internet. It is necessary for my current project, since I need to check the extension of every file in a directory and determine whether it is supported or not by gdk-pixbuf. Any help?
推荐答案
调用<一个href=\"http://developer.gnome.org/gdk-pixbuf/stable/gdk-pixbuf-Module-Interface.html#gdk-pixbuf-get-formats\"相对=nofollow> gdk_pixbuf_get_formats()
在你的应用程序会告诉你哪些格式的GDKPixbuf副本可以加载。
Calling gdk_pixbuf_get_formats()
in your application will tell you which formats your copy of GDKPixbuf can load.
这篇关于什么样的形象格式由GDK-PIXBUF(GTK的形象?)默认支持?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!