batch of changes to be tested

This commit is contained in:
Yann Esposito (Yogsototh) 2021-06-03 00:48:41 +02:00
parent 803e7c2a43
commit 27e78c194b
Signed by untrusted user who does not match committer: yogsototh
GPG Key ID: 7B19A4C650D59646
3 changed files with 17 additions and 19 deletions

View File

@ -2,21 +2,18 @@
src="$1"
dst="$2"
convert "$src" -quality 50 -resize 800x800\> "$dst"
# mogrify -path "$dst" \
# -filter Triangle \
# -define filter:support=2 \
# -thumbnail 800 \
# -unsharp 0.25x0.25+8+0.065 \
# -dither None \
# -posterize 136 \
# -quality 82 \
# -define jpeg:fancy-upsampling=off \
# -define png:compression-filter=5 \
# -define png:compression-level=9 \
# -define png:compression-strategy=1 \
# -define png:exclude-chunk=all \
# -interlace none \
# -colorspace sRGB \
# -strip "$src"
sizeof() {
stat --format="%s" "$*"
}
amount=0.33
s1=$( echo "100 * $amount" | bc -l )
s2=$( echo "100 / $amount" | bc -l )
# convert "$src" -resize 800x800\> -scale $s1% -scale $s2% -quality 50 "$dst"
convert "$src" -resize 800x800\> -ordered-dither o8x8,6 -colors 15 -quality 50 "$dst"
before=$(sizeof $src)
after=$(sizeof $dst)
gain=$(( ( (before - after) * 100 ) / before ))
print -- "$before => $after [$gain%])"

View File

@ -102,12 +102,13 @@ img:hover { filter: none; }
--b: #3f8cc3;
--c: #15a198;
--g: #939452;
--bg: hsl(218,20%,16%);
--bg: hsl(218,20%,12%);
--fg: hsl(218,20%,70%);
--gr: hsl(218,20%,20%);
}
img { filter: brightness(0.6) sepia(100%) hue-rotate(185deg) saturate(0.5); }
img:hover { filter: brightness(0.7); }
strong, b, i, emph, a:hover { color: hsl(218,50%,90%); }
}
pre,code { background: var(--gr); }

View File

@ -24,7 +24,7 @@ do not know about.
[[https://www.themoviedb.org/tv/46511-utopia][Utopia (2013)]] is one of these TV Shows that deserve more attention.
The *filmography* is quite original.
I have never see another film/TV show with a similar atmosphere.
I have never seen another film/TV show with a similar atmosphere.
The usage of bright colors is magistral.
Flashy yellow, green, red.