RGtk2 (version 2.20.31)

gdkPixbufGetFileInfo: gdkPixbufGetFileInfo

Description

Parses an image file far enough to determine its format and size.

Usage

gdkPixbufGetFileInfo(filename)

Arguments

filename
The name of the file to identify.

Value

A list containing the following elements:
retval
[GdkPixbufFormat] A GdkPixbufFormat describing the image format of the file or NULL if the image format wasn't recognized.
width
Return location for the width of the image, or NULL
height
Return location for the height of the image, or NULL

Details

Since 2.4