diff options
author | Talustus <talustus@dream-irc.de> | 2013-04-06 11:50:07 +0200 |
---|---|---|
committer | Dees_Troy <dees_troy@teamw.in> | 2013-07-01 22:22:17 +0200 |
commit | 3019a9172b36b9e2033d92dccdb8ff8e2282da7c (patch) | |
tree | 3938a34520ea3b6c3519efb93cbeadce64018e84 /fb2png/view888 | |
parent | Fix some issues with wipe partition list (diff) | |
download | android_bootable_recovery-3019a9172b36b9e2033d92dccdb8ff8e2282da7c.tar android_bootable_recovery-3019a9172b36b9e2033d92dccdb8ff8e2282da7c.tar.gz android_bootable_recovery-3019a9172b36b9e2033d92dccdb8ff8e2282da7c.tar.bz2 android_bootable_recovery-3019a9172b36b9e2033d92dccdb8ff8e2282da7c.tar.lz android_bootable_recovery-3019a9172b36b9e2033d92dccdb8ff8e2282da7c.tar.xz android_bootable_recovery-3019a9172b36b9e2033d92dccdb8ff8e2282da7c.tar.zst android_bootable_recovery-3019a9172b36b9e2033d92dccdb8ff8e2282da7c.zip |
Diffstat (limited to '')
-rw-r--r-- | fb2png/view888 | 21 |
1 files changed, 21 insertions, 0 deletions
diff --git a/fb2png/view888 b/fb2png/view888 new file mode 100644 index 000000000..6e10dcd20 --- /dev/null +++ b/fb2png/view888 @@ -0,0 +1,21 @@ +#!/bin/sh +# +# view argb8888 +# +# Modified: +# Kyan He <kyan.ql.he@gmail.com> @ Tue Feb 15 01:45:54 CST 2011 +# +# Initial version +# Kyan He <kyan.ql.he@gmail.com> @ Mon Sep 20 11:45:54 CST 2010 +# + +if ! which ffmpeg >/dev/null; +then + echo "no ffmpeg found" +elif [[ ! $# -eq 2 ]]; +then + echo "Usage: `basename $0` <data.argb8888> <width>x<height>" +else + ffmpeg -vcodec rawvideo -f rawvideo -pix_fmt rgb24 -s $2 -i $1 -f image2 -vcodec png $1.png +fi + |