Function

AppStreamComposeoptimize_png

Declaration [src]

gboolean
asc_optimize_png (
  const gchar* fname,
  GError** error
)

Description [src]

Optimizes a PNG graphic for size with optipng, if its binary is available and this feature is enabled.

Parameters

fname const gchar*
 

Filename of the PNG image to optimize.

 The data is owned by the caller of the function.
 The value is a NUL terminated UTF-8 string.
error GError **
  The return location for a GError*, or NULL.

Return value

Returns: gboolean
  No description available.