EvinceDocument.fileUncompress

Uncompresses the file at @uri.

If @type is %EV_COMPRESSION_NONE, it does nothing and returns %NULL.

Otherwise, it returns the filename of a temporary file containing the decompressed data from the file at @uri. On error it returns %NULL and fills in @error.

It is the caller's responsibility to unlink the temp file after use.

struct EvinceDocument
static
string
fileUncompress

Parameters

uri string

a file URI

type EvCompressionType

the compression type

Return Value

Type: string

a newly allocated string URI, or %NULL on error

Throws

GException on failure.

Meta