Constructor
AppStreamComposeImagenew_from_file
Declaration [src]
AscImage*
asc_image_new_from_file (
const gchar* fname,
guint dest_size,
AscImageLoadFlags flags,
GError** error
)
Parameters
fname |
const gchar* |
Name of the file to load. |
|
The data is owned by the caller of the function. | |
The value is a NUL terminated UTF-8 string. | |
dest_size |
guint |
The size of the constructed pixbuf, or 0 for the native size. |
|
flags |
AscImageLoadFlags |
A |
|
error |
GError ** |
The return location for a GError* , or NULL . |
Return value
Returns: | AscImage |
No description available. | |
The caller of the function takes ownership of the data, and is responsible for freeing it. |