[alsa-devel] [PATCH] asoc-tools: Render png image instead of jpeg in vizdapm.sh
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"
On Wed, Oct 30, 2013 at 04:54:30PM +0200, Jarkko Nikula wrote:
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
Applied both, thanks.
participants (2)
-
Dimitris Papastamos
-
Jarkko Nikula