alsa-devel.alsa-project.org archive mirror
 help / color / mirror / Atom feed
* [PATCH] asoc-tools: Render png image instead of jpeg in vizdapm.sh
@ 2013-10-30 14:54 Jarkko Nikula
  2013-10-31 11:32 ` Dimitris Papastamos
  0 siblings, 1 reply; 2+ messages in thread
From: Jarkko Nikula @ 2013-10-30 14:54 UTC (permalink / raw)
  To: alsa-devel; +Cc: Dimitris Papastamos, Jarkko Nikula

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@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

^ permalink raw reply related	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2013-10-31 11:32 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2013-10-30 14:54 [PATCH] asoc-tools: Render png image instead of jpeg in vizdapm.sh Jarkko Nikula
2013-10-31 11:32 ` Dimitris Papastamos

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).