diff --git a/pbresize b/pbresize index 3491d16..14a5a81 100755 --- a/pbresize +++ b/pbresize @@ -2,5 +2,5 @@ pngpaste /tmp/ss.png width=$((`sips -g pixelWidth /tmp/ss.png | cut -s -d ':' -f 2 | cut -c 2-` / 2)) -sips -Z $width /tmp/ss.png +sips --resampleWidth $width /tmp/ss.png impbcopy /tmp/ss.png