Browse Source

batch of changes to be tested

exp-with-scrum
parent
commit
27e78c194b
Signed by: yogsototh GPG Key ID: 7B19A4C650D59646
  1. 31
      engine/optim-img.sh
  2. 3
      src/css/y.css
  3. 2
      src/posts/0019-utopia-tv-show/index.org

31
engine/optim-img.sh

@ -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%])"

3
src/css/y.css

@ -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); }

2
src/posts/0019-utopia-tv-show/index.org

@ -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.

Loading…
Cancel
Save