2022-07-06 11:10:57 +02:00
|
|
|
# Brainbaking.com hugo site.
|
2018-04-30 09:26:34 +02:00
|
|
|
|
2022-07-06 11:10:57 +02:00
|
|
|
Source now self-hosted at `git.brainbaking.com`!
|
2020-06-03 10:21:45 +02:00
|
|
|
|
|
|
|
### Screenshot png - jpg conversion
|
|
|
|
|
2022-07-06 11:10:57 +02:00
|
|
|
```
|
|
|
|
find . -name "*.png" -exec convert {} -sampling-factor 4:2:0 -strip -quality 85 -interlace JPEG -colorspace sRGB {}.jpg \;
|
|
|
|
find ./ -name "*.png.jpg" -exec sh -c 'mv $0 `basename "$0" .png.jpg`.jpg' '{}' \;
|
|
|
|
```
|
|
|
|
|
|
|
|
Using montage to stick together two screenshots:
|
|
|
|
|
|
|
|
```
|
|
|
|
montage TMHT\ FOOT\ CLAN-1.png TMHT\ FOOT\ CLAN-5.png -tile 2x1 -geometry +2+2 boss-still.png
|
|
|
|
convert -filter box -resize x400 boss-still.png boss-still.png
|
|
|
|
```
|
|
|
|
|