mirror of
https://github.com/JanJastrow/.dotfiles.git
synced 2024-11-24 11:22:50 +01:00
Merge conflict
This commit is contained in:
parent
a24bc69e8c
commit
0f565c47f5
@ -49,11 +49,7 @@ function pushover() {
|
||||
https://api.pushover.net/1/messages.json
|
||||
}
|
||||
|
||||
<<<<<<< HEAD
|
||||
# png to jpg 95
|
||||
=======
|
||||
# png to jpg 85
|
||||
>>>>>>> parent of d1425c4 (Increase jpg quality)
|
||||
function png2web() {
|
||||
findpath=$1
|
||||
: "${findpath:="."}"
|
||||
@ -61,11 +57,7 @@ function png2web() {
|
||||
dir=$(dirname "$f");
|
||||
file=$(basename "$f");
|
||||
name="${file%.*}";
|
||||
<<<<<<< HEAD
|
||||
magick convert "$f" pnm:- | cjpeg -progressive -quality 95 > "$dir/$name.jpg" </dev/null
|
||||
=======
|
||||
magick convert "$f" pnm:- | cjpeg -progressive -quality 85 > "$dir/$name.jpg" </dev/null
|
||||
>>>>>>> parent of d1425c4 (Increase jpg quality)
|
||||
rm -f "$f";
|
||||
done
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user