doc/ex/implode.rb in rmagick-1.15.7 vs doc/ex/implode.rb in rmagick-1.15.8
- old
+ new
@@ -13,16 +13,18 @@
implosion = 0.25
8.times {
frames << img.implode(implosion)
legend.annotate(frames, 0,0,10,20, sprintf("% 4.2f", implosion))
+ frames.matte = false
implosion -= 0.10
}
7.times {
implosion += 0.10
frames << img.implode(implosion)
legend.annotate(frames, 0,0,10,20, sprintf("% 4.2f", implosion))
+ frames.matte = false
}
frames.delay = 10
frames.iterations = 0
puts "Producing animation..."