Method

AppStreamComposeImagescale_to_width

Declaration [src]

void
asc_image_scale_to_width (
  AscImage* image,
  guint new_width
)

Description [src]

Scale the image to the given width, preserving its aspect ratio.

Parameters

new_width

Type: guint

The new width.