blender/release/datafiles/splash_scale.sh

19 lines
406 B
Bash
Raw Normal View History

#!/bin/bash
# Use this script to generate splash.png from splash_2x.png.
# Supposed to give best quality image.
#
# Based on ImageMagic documentation, which is interesting
# to read anyway:
#
# http://www.imagemagick.org/Usage/filter
# http://www.imagemagick.org/Usage/filter/nicolas/
convert \
splash_2x.png \
-colorspace RGB \
-filter Cosine \
-resize 50% \
-colorspace sRGB \
splash.png