diff options
author | Richard Hughes <richard@hughsie.com> | 2014-10-24 13:46:56 +0100 |
---|---|---|
committer | Richard Hughes <richard@hughsie.com> | 2014-10-24 13:46:59 +0100 |
commit | de66f11378a974c05927f6fc11fa822b24d45589 (patch) | |
tree | 75698b2f1184df3fc2913a53a57ccd44cee524c3 /libappstream-builder/asb-app.c | |
parent | 4e1fc310a778b956af3c0600a89a33e2a3aae152 (diff) | |
download | appstream-glib-de66f11378a974c05927f6fc11fa822b24d45589.tar.gz |
Add BLUR and SHARPEN values for AsImageSaveFlags
The latter will allow us to show a blurred small resolution loading screenshot
in gnome-software.
Diffstat (limited to 'libappstream-builder/asb-app.c')
-rw-r--r-- | libappstream-builder/asb-app.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/libappstream-builder/asb-app.c b/libappstream-builder/asb-app.c index cc6995f..aed370c 100644 --- a/libappstream-builder/asb-app.c +++ b/libappstream-builder/asb-app.c @@ -366,7 +366,8 @@ asb_app_save_thumbnail (AsScreenshot *ss, AsImage *im_src, pixbuf = as_image_save_pixbuf (im_src, width * scale, height * scale, - AS_IMAGE_SAVE_FLAG_PAD_16_9); + AS_IMAGE_SAVE_FLAG_PAD_16_9 | + AS_IMAGE_SAVE_FLAG_SHARPEN); im_tmp = as_image_new (); as_image_set_width (im_tmp, width * scale); as_image_set_height (im_tmp, height * scale); |