lib/rvg/rvg.rb in rmagick-5.4.4 vs lib/rvg/rvg.rb in rmagick-5.5.0
- old
+ new
@@ -88,9 +88,11 @@
bg = Magick::Image.new(width, height) { |options| options.background_color = bgcolor }
bg_image = bg.composite!(bg_image, Magick::CenterGravity, Magick::OverCompositeOp)
end
bg_image
end
+ else
+ @background_image.copy
end
else
@background_image.copy
end
else