image: higher quality thumbs. Closes #1079
This commit is contained in:
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
|
||||||
|
|||||||
Reference in New Issue
Block a user