Learn R Programming

RGtk2 (version 2.8.8)

gdkPixbufGetFileInfo: gdkPixbufGetFileInfo

Description

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

Usage

gdkPixbufGetFileInfo(filename)

Arguments

filename
[character] 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[integer] Return location for the width of the image, or NULL
  • height[integer] Return location for the height of the image, or NULL

Details

Since 2.4