diff options
author | Bert Münnich <ber.t@posteo.de> | 2014-09-29 14:06:24 +0200 |
---|---|---|
committer | Bert Münnich <ber.t@posteo.de> | 2014-09-29 14:06:24 +0200 |
commit | b4096c59e4897e03ca503deee0638037abebb0e2 (patch) | |
tree | e550787a9fce436dfc6a5c18e0dbfbcfba9aaf50 | |
parent | 390d771e7035f089d95a7552a9c9fdf41caf1ea6 (diff) |
Set JPEG quality for thumbnail cache files
-rw-r--r-- | thumbs.c | 1 |
1 files changed, 1 insertions, 0 deletions
@@ -102,6 +102,7 @@ void tns_cache_write(Imlib_Image im, const char *filepath, bool force) if (err == 0) { imlib_context_set_image(im); imlib_image_set_format("jpg"); + imlib_image_attach_data_value("quality", NULL, 90, NULL); imlib_save_image_with_error_return(cfile, &err); } if (err == 0) { |