I am basically trying to write this command with mini_magick.
gm composite -compose Copy -geometry +0+210 note-transparent1.png note-rugby.png note-rugby-e.png
This is my code:
image = MiniMagick::Image.open("note-transparent1.png")
result = image.composite(MiniMagick::Image.open("note-rugby.png") do |c|
c.compose = "Copy"
c.geometry = "+0+210"
end)
result.write "note-rugby-e.png"
The images are composited and written to the new file; however the geometry isn't respected. The image is not offset.
I also tried setting the mini_magick processor to ImageMagick instead of GraphicsMagick, but I get the same result.
Any ideas?