the image format of the file
Pixbuf.getFileInfo
gdkpixbuf.pixbuf_format.PixbufFormat getFileInfo(string filename, out int width, out int height)Parses an image file far enough to determine its format and size.
Parameters
filename | The name of the file to identify. |
width | Return location for the width of the image |
height | Return location for the height of the image |
Returns
A [gdkpixbuf.pixbuf_format.PixbufFormat] describing