git.shiar.nl
/
minime.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(from parent 1:
18fba70
)
delete animation frames and transparency
author
Mischa POSLAWSKY
<perl@shiar.org>
Fri, 14 Feb 2020 22:24:26 +0000
(23:24 +0100)
committer
Mischa POSLAWSKY
<perl@shiar.org>
Fri, 14 Feb 2020 22:24:26 +0000
(23:24 +0100)
termimg
patch
|
blob
|
history
diff --git
a/termimg
b/termimg
index d51790613d64346bc58439aab97beae6c80a544e..11d436df15546ddc3b4f3f40435bf5760ca9b377 100755
(executable)
--- 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") {