X-Git-Url: http://git.shiar.nl/minime.git/blobdiff_plain/18fba70b7fba4ac9331c3108dbe4a34902b8785c..6c1d056361fc539dd9dd946106e0020a8150edcc:/termimg diff --git a/termimg b/termimg index d517906..11d436d 100755 --- a/termimg +++ b/termimg @@ -49,10 +49,16 @@ eval { } or warn $@; open my $pgm, '-|', convert => ( - -compress => 'none', + $file => + -delete => '1--1', '+distort' => SRT => '0,0 1,.56 0', -thumbnail => $size || '40x12', - $file => 'pgm:-' + -colorspace => 'gray', + '-normalize', + -background => 'black', + -layers => 'flatten', + -compress => 'none', + 'pgm:-' ) or die $!; if (<$pgm> eq "P2\n") {