alsa-devel.alsa-project.org archive mirror
 help / color / mirror / Atom feed
From: Jarkko Nikula <jarkko.nikula@linux.intel.com>
To: alsa-devel@alsa-project.org
Cc: Dimitris Papastamos <dp@opensource.wolfsonmicro.com>,
	Jarkko Nikula <jarkko.nikula@linux.intel.com>
Subject: [PATCH] asoc-tools: Render png image instead of jpeg in vizdapm.sh
Date: Wed, 30 Oct 2013 16:54:30 +0200	[thread overview]
Message-ID: <1383144870-20294-1-git-send-email-jarkko.nikula@linux.intel.com> (raw)

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

             reply	other threads:[~2013-10-30 14:55 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2013-10-30 14:54 Jarkko Nikula [this message]
2013-10-31 11:32 ` [PATCH] asoc-tools: Render png image instead of jpeg in vizdapm.sh Dimitris Papastamos

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1383144870-20294-1-git-send-email-jarkko.nikula@linux.intel.com \
    --to=jarkko.nikula@linux.intel.com \
    --cc=alsa-devel@alsa-project.org \
    --cc=dp@opensource.wolfsonmicro.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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).