Class
AppStreamComposeImage
Constructors
asc_image_new
Creates a new AscImage
.
asc_image_new_from_data
Creates a new AscImage
from data in memory.
asc_image_new_from_file
Creates a new AscImage
from a file on the filesystem.
Functions
asc_image_supported_format_names
Get a set of image format names we can currently read (via GdkPixbuf).
Instance methods
asc_image_get_height
Gets the image height.
asc_image_get_pixbuf
Gets the image pixbuf if set.
asc_image_get_width
Gets the image width.
asc_image_load_filename
Reads an image from a file.
asc_image_save_filename
Saves the image to a file.
asc_image_save_pixbuf
Resamples a pixbuf to a specific size.
asc_image_scale
Scale the image to the given size.
asc_image_scale_to_fit
Scale the image to fir in a square with the given edge length, and keep its aspect ratio.
asc_image_scale_to_height
Scale the image to the given height, preserving its aspect ratio.
asc_image_scale_to_width
Scale the image to the given width, preserving its aspect ratio.
asc_image_set_pixbuf
Sets the image pixbuf.
Signals
Signals inherited from GObject (1)
GObject.Object::notify
The notify signal is emitted on an object when one of its properties has its value set through g_object_set_property(), g_object_set(), et al.