[alsa-devel] [PATCH] asoc-tools: Render png image instead of jpeg in vizdapm.sh
Jarkko Nikula
jarkko.nikula at linux.intel.com
Wed Oct 30 15:54:30 CET 2013
Lossless png image suits better to technical drawings than jpeg which may
even have artifacts around sharp objects.
Signed-off-by: Jarkko Nikula <jarkko.nikula at linux.intel.com>
---
For git://opensource.wolfsonmicro.com/asoc-tools.git
---
bin/vizdapm.sh | 6 +++---
1 file changed, 3 insertions(+), 3 deletions(-)
diff --git a/bin/vizdapm.sh b/bin/vizdapm.sh
index 11d1361..8d61dd2 100755
--- a/bin/vizdapm.sh
+++ b/bin/vizdapm.sh
@@ -16,7 +16,7 @@
usage()
{
cat << EOF
-usage: $0 <dapm-debugfs-directory> <graph-dot-file> <graph-jpg-file>
+usage: $0 <dapm-debugfs-directory> <graph-dot-file> <graph-png-file>
EOF
exit 1
}
@@ -29,7 +29,7 @@ active=
curpath=`pwd`
dapm_debugfs="$1"
graph_file=${curpath}"/$2"
-graph_file_jpg=${curpath}"/$3"
+graph_file_png=${curpath}"/$3"
trap "{ [ -f "$graph_file" ] && rm -f "$graph_file"; exit; }" SIGINT SIGTERM
@@ -62,4 +62,4 @@ done
popd >/dev/null
echo "}" >> "$graph_file"
-dot -Kfdp -Tjpg "$graph_file" -o "$graph_file_jpg"
+dot -Kfdp -Tpng "$graph_file" -o "$graph_file_png"
--
1.8.4.rc3
More information about the Alsa-devel
mailing list