### Method

# Rsvg Handleget_pixbuf

#### 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.

#### Return value

Returns: | `GdkPixbuf`
| A pixbuf, or `NULL` on error. during rendering.
| The caller of the method takes ownership of the data, and is responsible for freeing it.
| The return value can be `NULL`.