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

filenameThe name of the file to identify.
widthReturn location for the width of the image
heightReturn location for the height of the image

Returns

A [gdkpixbuf.pixbuf_format.PixbufFormat] describing

the image format of the file