video2gif 0.0.27 → 0.0.28

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: dcd540f3a1cb9f53c1cfcacd9956f4f85b87f967d260b6ac9a0a2912de3e6ee4
4
- data.tar.gz: c2da6f1a6d492df9b0ed6d74cf88f40861f835b9292cf34de8b508b05b892499
3
+ metadata.gz: f1e5b0b598afa0c79e9f824af445d5cdb14ed9573a7012122366ae114f7dd2d4
4
+ data.tar.gz: 2ed80dd2b5bb00836ee6ec23b9a1b26770c65719f6e5e3327504e735dcc1bda5
5
5
  SHA512:
6
- metadata.gz: cc8dd52ed95980498233816a4e7e94f2ce33e7c5bcd213c80e03db6161f95f0b582d283c318acc0354f0abc0629fbf98504c984acc032fd9ed8a2c4d1688aaca
7
- data.tar.gz: 60954c49a30d7aca51974dc115bdf4f46a1e4514d4678292cdbda7890c7860fd41f37da36c7d6f9631e84b4305c94686f609c200aef39bddb3db1380713df70c
6
+ metadata.gz: 1522c31771bc03c82e296c427ef2d2745890a8987144540317c7e72e29787af7752e97c640027fe228ec84ad8d560847700d73f097ffa8345095f3377fcf99f6
7
+ data.tar.gz: 1968f8d86fb19be6486b07c1eb1355c5b95634135bddc5f2029b430b3e7e5cade02e7c22dbc26f1485a6e8ecd7bb0b7d90040400df9c1e94b9cea21a0c924ad2
@@ -59,8 +59,8 @@ module Video2gif
59
59
  filtergraph << 'zscale=' + %W[
60
60
  dither=none
61
61
  filter=lanczos
62
- width=#{ options[:width] || 500 }
63
- height=trunc(#{ options[:width] || 500 }/dar)
62
+ width=#{ options[:width] || 400 }
63
+ height=trunc(#{ options[:width] || 400 }/dar)
64
64
  ].join(':')
65
65
  filtergraph << 'zscale=transfer=linear:npl=100'
66
66
  filtergraph << 'zscale=npl=100'
@@ -75,8 +75,8 @@ module Video2gif
75
75
  filtergraph << 'scale=' + %W[
76
76
  flags=lanczos
77
77
  sws_dither=none
78
- width=#{ options[:width] || 500 }
79
- height=trunc(#{ options[:width] || 500 }/dar)
78
+ width=#{ options[:width] || 400 }
79
+ height=trunc(#{ options[:width] || 400 }/dar)
80
80
  ].join(':') unless options[:tonemap]
81
81
  end
82
82
 
@@ -42,7 +42,7 @@ module Video2gif
42
42
  parser.on('-w WIDTH',
43
43
  '--width WIDTH',
44
44
  'Scale the width of the resulting GIF in pixels (aspect',
45
- 'ratio is preserved, default is 500 pixels)') do |w|
45
+ 'ratio is preserved, default is 400 pixels)') do |w|
46
46
  options[:width] = w
47
47
  end
48
48
 
@@ -1,5 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module Video2gif
4
- VERSION = '0.0.27'
4
+ VERSION = '0.0.28'
5
5
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: video2gif
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.27
4
+ version: 0.0.28
5
5
  platform: ruby
6
6
  authors:
7
7
  - Emily St.
8
8
  autorequire:
9
9
  bindir: exe
10
10
  cert_chain: []
11
- date: 2019-05-01 00:00:00.000000000 Z
11
+ date: 2019-05-02 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: bundler