Package: gdk-pixbuf

Function gdk-pixbuf:pixbuf-file-info

Lambda List

gdk-pixbuf:pixbuf-file-info (path)

Arguments

path -- a pathname or namestring for the name of the file to identify

Return Value

format -- a gdk-pixbuf:pixbuf-format instance describing the image format of the file or nil if the image format was not recognized
width -- an integer for the width of the image, or nil
height -- an integer for the height of the image, or nil

Details

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

See also

2025-09-26