Rsvg.Handle.get_pixbuf

### Method

# Rsvg Handleget_pixbuf

deprecated: 2.58.

#### Declaration [src]

    GdkPixbuf*
    rsvg_handle_get_pixbuf (
      RsvgHandle* handle
    )

#### Description [src]

Returns the pixbuf loaded by `handle`. The pixbuf returned will be reffed, so the caller of this function must assume that ref.

API ordering: This function must be called on a fully-loaded `handle`. See the section “API ordering” for details.

This function depends on the `RsvgHandle`‘s dots-per-inch value (DPI) to compute the “natural size” of the document in pixels, so you should call `rsvg_handle_set_dpi()` beforehand.

Deprecated since: 2.58.

Use `rsvg_handle_get_pixbuf_and_error()`.

#### Return value

Type: `GdkPixbuf`

A pixbuf, or `NULL` on error during rendering.

The caller of the method takes ownership of the returned data, and is responsible for freeing it.
The return value can be `NULL`.