summaryrefslogtreecommitdiff
path: root/libappstream-builder/asb-app.c
diff options
context:
space:
mode:
authorRichard Hughes <richard@hughsie.com>2014-10-24 13:46:56 +0100
committerRichard Hughes <richard@hughsie.com>2014-10-24 13:46:59 +0100
commitde66f11378a974c05927f6fc11fa822b24d45589 (patch)
tree75698b2f1184df3fc2913a53a57ccd44cee524c3 /libappstream-builder/asb-app.c
parent4e1fc310a778b956af3c0600a89a33e2a3aae152 (diff)
downloadappstream-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.c3
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);