Method

PurpleImagegenerate_filename

since: 3.0

Declaration [src]

const gchar*
purple_image_generate_filename (
  PurpleImage* image
)

Description [src]

Calculates almost-unique filename by computing checksum from file contents and appending a suitable extension. You should not assume the checksum is SHA-1, because it may change in the future.

Available since: 3.0

Return value

Type: const gchar*

The generated file name.

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