Virtual Method

GeglMetadataget_resolution

Declaration [src]

gboolean
get_resolution (
  GeglMetadata* metadata,
  GeglResolutionUnit* unit,
  gfloat* x,
  gfloat* y
)

Description [src]

Retrieve resolution from the application image metadata. Intended for use by the image file writer. If resolution is not supported by the application or if the operation fails FALSE is returned and the resolution values are not updated.

Parameters

unit GeglResolutionUnit
 

GeglResolutionUnit return location.

 The data is owned by the caller of the function.
x gfloat*
 

X resolution return location.

 The data is owned by the caller of the function.
y gfloat*
 

Y resolution return location.

 The data is owned by the caller of the function.

Return value

Returns: gboolean
 

TRUE if successful.