2019-05-23 – Panasonic Lumix DMC-GX7
sunset, Savo Sunset Lodge, Solomon Islands
🎵 (youtube) 2 Unlimited «Get Ready for This»
and onwards to my next gimmick – I liked the pixelated look of the pattern dither on the
preview image and I came across a quick way to emphasize that – instead of passing
-resize 50%
to ImageMagick, I pass -resize 25%
and then
double the image size in the HTML – normally the browser will try to interpolate
the pixels when enlarging (giving a blurry look), but my «big revelation» was I can
use CSS to bypass that by adding style="image-rendering: pixelated;"
to
the <img>
tag
➡️ the day after
⬅️ the day before
⬅️ the month before
⬅️ the season before
🔗 rss