image: higher quality thumbs. Closes #1079
This commit is contained in:
parent
3a0e2ec68c
commit
7677cd2b4b
1 changed files with 1 additions and 3 deletions
4
neofetch
4
neofetch
|
@ -3769,11 +3769,9 @@ make_thumbnail() {
|
||||||
-background none \
|
-background none \
|
||||||
"$image" \
|
"$image" \
|
||||||
-strip \
|
-strip \
|
||||||
-define "jpeg:size=100x100" \
|
|
||||||
-gravity "$crop_offset" \
|
-gravity "$crop_offset" \
|
||||||
-crop "${size}x${size}+0+0" \
|
-crop "${size}x${size}+0+0" \
|
||||||
-quality 40 \
|
-scale "${width}x${height}" \
|
||||||
-sample "${width}x${height}" \
|
|
||||||
"${thumbnail_dir}/${image_name}"
|
"${thumbnail_dir}/${image_name}"
|
||||||
;;
|
;;
|
||||||
esac
|
esac
|
||||||
|
|
Loading…
Reference in a new issue