omni: online wallpaper scripts
added script "json_wallpapers_xml" that adds info about existing
wallpapers from wallpapers.xml to json
maxwen: Changed json_wallpapers_xml to also inclcude files that have
no entry in wallpapers.xml unless we have some scripting in place
that makes sure we always upload a consistent set
Change-Id: I1e31feaf3d5fdaa24d99b9010746265e6440e7e1
diff --git a/prebuilt/wallpapers/create_thumbs.sh b/prebuilt/wallpapers/create_thumbs.sh
new file mode 100755
index 0000000..03cf599
--- /dev/null
+++ b/prebuilt/wallpapers/create_thumbs.sh
@@ -0,0 +1,16 @@
+#!/bin/sh
+
+if [ ! -d "thumbs" ]; then
+ mkdir "thumbs"
+ cp json.php "thumbs"
+fi
+
+for file in `ls *.png`
+do
+ convert $file -resize 300 "thumbs/$file"
+done
+
+for file in `ls *.jpg`
+do
+ convert $file -resize 300 "thumbs/$file"
+done