Basically, I am trying to write this command using a mini_magic.
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"
Images are compiled and written to a new file; however, geometry is not respected. 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?
source share