Method

PurpleImageget_mimetype

unstable since: 3.0

Declaration [src]

const gchar*
purple_image_get_mimetype (
  PurpleImage* image
)

Description [src]

Guesses the image mime-type based on its contents.

Available since: 3.0

Return value

Type: const gchar*

The mime-type suitable for image format.

The returned data is owned by the instance.
The value is a NUL terminated UTF-8 string.