From mboxrd@z Thu Jan 1 00:00:00 1970 From: Jarkko Nikula Subject: [PATCH] asoc-tools: Render png image instead of jpeg in vizdapm.sh Date: Wed, 30 Oct 2013 16:54:30 +0200 Message-ID: <1383144870-20294-1-git-send-email-jarkko.nikula@linux.intel.com> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Return-path: Received: from mga14.intel.com (mga14.intel.com [143.182.124.37]) by alsa0.perex.cz (Postfix) with ESMTP id 61FEF265351 for ; Wed, 30 Oct 2013 15:55:47 +0100 (CET) List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: alsa-devel-bounces@alsa-project.org Sender: alsa-devel-bounces@alsa-project.org To: alsa-devel@alsa-project.org Cc: Dimitris Papastamos , Jarkko Nikula List-Id: alsa-devel@alsa-project.org Lossless png image suits better to technical drawings than jpeg which may even have artifacts around sharp objects. Signed-off-by: Jarkko Nikula --- 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 +usage: $0 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