Gly.Loader.load

### Method

# Gly Loaderload

since: 2.0

#### Declaration [src]

    GlyImage*
    gly_loader_load (
      GlyLoader* loader
      GError** error
    )

#### Description [src]

Synchronously loads an image and returns an `GlyImage` when successful.

Available since: 2.0

#### Return value

Type: `GlyImage`

A new `GlyImage` on success, or `NULL` with `error` filled in.

The caller of the method takes ownership of the returned data, and is responsible for freeing it.