[debian-edu-commits] debian-edu/ 202/437: The trick is 8 bit RGB.

Mike Gabriel sunweaver at debian.org
Sun Mar 2 23:49:36 UTC 2014


This is an automated email from the git hooks/post-receive script.

sunweaver pushed a commit to branch master
in repository debian-edu-artwork.

commit c6cb4b2f9cd7e35e7d65e7251148ca21e5fdad6b
Author: Petter Reinholdtsen <pere at hungry.com>
Date:   Tue Jul 22 21:08:17 2008 +0000

    The trick is 8 bit RGB.
---
 art/splash/Makefile.am | 9 +++------
 1 file changed, 3 insertions(+), 6 deletions(-)

diff --git a/art/splash/Makefile.am b/art/splash/Makefile.am
index 6850692..cf6ceb3 100644
--- a/art/splash/Makefile.am
+++ b/art/splash/Makefile.am
@@ -24,15 +24,12 @@ install-data-local: $(XPMGZS)
 # This do not work properly because of #477791.
 	ln -s splashimages/splash-debian-edu.xpm.gz $(DESTDIR)$(grubdir)/splash.xpm.gz
 
-# Generate grub image from usplash image for now.  Need to be XPM, 14 colors,
+# Generate grub image from usplash image for now.  Need to be XPM, 14 colors 8 bit RGB,
 # 640x480 pixels.  Compression is optional but speed up the boot with modern machines.
-# First convert to JPEG, then to XPM, to make sure the color entries in
-# the XPM are understood by grub.
 splash-debian-edu.xpm:
 	$(MAKE) -C ../usplash background_640x480.png
-	convert -resize 640x480 -colors 14 -background black \
-	    ../usplash/background_640x480.png splash-debian-edu.jpeg
-	convert -colors 14 -background black splash-debian-edu.jpeg splash-debian-edu.xpm
+	convert -resize 640x480 -colors 14 -background black -depth 8 \
+	    ../usplash/background_640x480.png splash-debian-edu.xpm
 splash-debian-edu.xpm.gz: splash-debian-edu.xpm
 	gzip -9 < $^ > $@
 

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/debian-edu/debian-edu-artwork.git



More information about the debian-edu-commits mailing list