Deprecatedfilename: string
A file name
Deprecatedmax_width: number
The requested max width
Deprecatedmax_height: number
The requested max height
A pixbuf, or null on error.
Use Rsvg.Handle.new_from_file and Rsvg.Handle.render_document instead.
Loads a new GdkPixbuf.Pixbuf from
filenameand returns it. This pixbuf is uniformly scaled so that the it fits into a rectangle of sizemax_width * max_height. The caller must assume the reference to the returned pixbuf. If an error occurred,erroris set andNULLis returned.