diff --git a/perf/img.sh b/perf/img.sh
index 5756d2aa..bae95605 100755
--- a/perf/img.sh
+++ b/perf/img.sh
@@ -34,7 +34,7 @@ declare -a upper lower
 upper=()
 lower=()
 
-convert -thumbnail ${COLUMNS}x "$1" txt:- |
+convert -thumbnail ${COLUMNS}x -define txt:compliance=SVG "$1" txt:- |
 while IFS=',:() ' read col row dummy red green blue rest; do
   if [ "$col" = "#" ]; then
     continue
