tootsie 0.9.26 → 0.9.27

Sign up to get free protection for your applications and to get access to all the features.
@@ -155,7 +155,14 @@ module Tootsie
155
155
  convert_command << " -auto-orient"
156
156
  end
157
157
 
158
- convert_command << " :input_file :output_file"
158
+ if original_format == 'gif' and output_format == 'gif'
159
+ # Work around ImageMagick problem that screws up animations unless the
160
+ # animation frames are "coalesced" first.
161
+ convert_command = "convert -coalesce :input_file - | #{convert_command} - :output_file"
162
+ else
163
+ convert_command << " :input_file :output_file"
164
+ end
165
+
159
166
  CommandRunner.new(convert_command).run(convert_options)
160
167
 
161
168
  if version_options[:format] == 'png'
@@ -1,3 +1,3 @@
1
1
  module Tootsie
2
- VERSION = '0.9.26'
2
+ VERSION = '0.9.27'
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: tootsie
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.9.26
4
+ version: 0.9.27
5
5
  prerelease:
6
6
  platform: ruby
7
7
  authors:
@@ -326,7 +326,7 @@ required_ruby_version: !ruby/object:Gem::Requirement
326
326
  version: '0'
327
327
  segments:
328
328
  - 0
329
- hash: 1492124048621492077
329
+ hash: -3013484921319559554
330
330
  required_rubygems_version: !ruby/object:Gem::Requirement
331
331
  none: false
332
332
  requirements:
@@ -335,7 +335,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
335
335
  version: '0'
336
336
  segments:
337
337
  - 0
338
- hash: 1492124048621492077
338
+ hash: -3013484921319559554
339
339
  requirements: []
340
340
  rubyforge_project: tootsie
341
341
  rubygems_version: 1.8.24