소스 검색

Set JPEG quality for thumbnail cache files

master
Bert Münnich 10 년 전
부모
커밋
b4096c59e4
1개의 변경된 파일1개의 추가작업 그리고 0개의 파일을 삭제
  1. +1
    -0
      thumbs.c

+ 1
- 0
thumbs.c 파일 보기

@@ -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) {


||||||
x
 
000:0
불러오는 중...
취소
저장