get_file_info


Description:

[ Version ( since = "2.4" ) ]
public static unowned PixbufFormat? get_file_info (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 `GdkPixbufFormat` describing the image format of the file