Package: gdk-pixbuf

Function gdk-pixbuf:pixbuf-file-info

Lambda List

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

Arguments

path -- a pathname or namestring with 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 with the width of the image, or nil
height -- an integer with the height of the image, or nil

Details

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

See also

2024-5-30