SF.net SVN: morphix: [2459] trunk/mmaker/utils/auto-testing/auto_testing.sh
[email protected] Mon, 19 Feb 2007 14:06:35 -0800
| Newsgroups | gmane.linux.morphix.cvs |
|---|---|
| Message-ID | <[email protected]> |
Revision: 2459
http://svn.sourceforge.net/morphix/?rev=2459&view=rev
Author: bmsleight
Date: 2007-02-19 14:06:34 -0800 (Mon, 19 Feb 2007)
Log Message:
-----------
MiniLogo
Modified Paths:
--------------
trunk/mmaker/utils/auto-testing/auto_testing.sh
Modified: trunk/mmaker/utils/auto-testing/auto_testing.sh
===================================================================
--- trunk/mmaker/utils/auto-testing/auto_testing.sh 2007-02-12 00:02:44 UTC (rev 2458)
+++ trunk/mmaker/utils/auto-testing/auto_testing.sh 2007-02-19 22:06:34 UTC (rev 2459)
@@ -9,6 +9,7 @@
# /usr/share/common-licenses/GPL #
#
LOGO=/home/morph/morphix/trunk/cdrom-misc/images/MorphixCD_BLUE_BLACK.jpg
+MINILOGO=/home/morph/morphix/trunk/cdrom-misc/images/Morphix_TINY.gif
ISO=$1
VIDEO=$2
COMMENTS=$4
@@ -38,7 +39,7 @@
LIST_ISOMORPH=$(echo ; isomorph --list $ISO )
isomorph --add boot "splash=n debugmorphix=yes" $ISO $TMP_D/qemu.iso
-qemu -full-screen -pidfile $TMP_D/qemu.pid -user-net -cdrom $TMP_D/qemu.iso &
+qemu -full-screen -pidfile $TMP_D/qemu.pid -cdrom $TMP_D/qemu.iso &
l=16
#xwininfo -root | grep wininfo | cut -d' ' -f 4 >$TMP_D/xwid
@@ -77,8 +78,19 @@
else
convert=$DUMPS$l'.miff'
fi
+
+# Make minilog for top corner.
+# This ensures that there is no completely back jpg with no info
+# as mencode seg fautls if a jpg is completly empty
+# Hey - it also looks pretty :)
+convert $MINILOGO -negate /tmp/tmp.gif -gravity South -background Black -font Helvetica-Bold -fill white -splice 0x14 -draw "text 0,0 'AutoTesting'" -transparent black $TMP_D/minilogo.gif
+
echo "Converting $convert -> $convert.jpg"
+# convert $convert -resize 800x600 $convert.jpg
+#
convert $convert -resize 800x600 $convert.jpg
+ convert $convert.jpg -gravity NorthEast -draw "image over 0,0 0,0 '$TMP_D/minilogo.gif'" $convert.jpg
+#
rm $convert
l=$(expr $l + 1)
done
This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.
-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys-and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV