Merge branch 'master' into blender2.8
[blender.git] / release / datafiles / splash_scale.sh
1 #!/bin/bash
2
3 # Use this script to generate splash.png from splash_2x.png.
4 # Supposed to give best quality image.
5 #
6 # Based on ImageMagic documentation, which is interesting
7 # to read anyway:
8 #
9 #  http://www.imagemagick.org/Usage/filter
10 #  http://www.imagemagick.org/Usage/filter/nicolas/
11
12 convert \
13   splash_2x.png \
14   -colorspace RGB \
15   -filter Cosine \
16   -resize 50% \
17   -colorspace sRGB \
18   splash.png