lib/wgif/gif_maker.rb in wgif-0.2.0 vs lib/wgif/gif_maker.rb in wgif-0.3.0
- old
+ new
@@ -10,10 +10,12 @@
image.write(filename)
end
def resize(image, dimensions)
image.each do |frame|
- frame.change_geometry(dimensions) { |cols, rows, img| img.resize!(cols, rows) }
+ frame.change_geometry(dimensions) do |cols, rows, img|
+ img.resize!(cols, rows)
+ end
end
end
end
end