From 6c1d056361fc539dd9dd946106e0020a8150edcc Mon Sep 17 00:00:00 2001 From: Mischa POSLAWSKY Date: Fri, 14 Feb 2020 23:24:26 +0100 Subject: [PATCH 1/1] delete animation frames and transparency --- termimg | 10 ++++++++-- 1 file changed, 8 insertions(+), 2 deletions(-) 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") { -- 2.30.0