Commit: 8e7d6561f57a74e53c764db5acd98e0b388a32e7
Author: Sergey Sharybin
Date:   Tue Sep 6 12:27:58 2016 +0200
Branches: blender-v2.78-release
https://developer.blender.org/rB8e7d6561f57a74e53c764db5acd98e0b388a32e7

Add script which scales splash screen down

Based on reading documentation around. This particular version
is based on the ImageMagic documentation which could be found
there:

  http://www.imagemagick.org/Usage/filter/
  http://www.imagemagick.org/Usage/filter/nicolas/

Current filter is based on measuring mean error with the current
splash screen and choosing combination of parameters which
gives minimal mean error.

===================================================================

A       release/datafiles/splash_scale.sh

===================================================================

diff --git a/release/datafiles/splash_scale.sh 
b/release/datafiles/splash_scale.sh
new file mode 100755
index 0000000..8a3f2c6
--- /dev/null
+++ b/release/datafiles/splash_scale.sh
@@ -0,0 +1,18 @@
+#!/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

_______________________________________________
Bf-blender-cvs mailing list
[email protected]
https://lists.blender.org/mailman/listinfo/bf-blender-cvs

Reply via email to