asoc-tools: Render png image instead of jpeg in vizdapm.sh
PATCH 1/1 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 <[email protected]>
---
For git://opensource.wolfsonmicro.com/asoc-tools.git
--- bin/vizdapm.sh | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-)
bin/vizdapm.sh +3 -3
@@ -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"
Signature · 1 line
1.8.4.rc3
Dimitris Papastamos
AppliedQuoted 4 lines · 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 <[email protected]>
Applied both, thanks.