lib/songster/generator.rb
def merge_opened_mouth_on_canvas(mouth)
      Commander.run!("composite",
                     "#{@dir}/opened_mouth.miff #{@dir}/opened_mouths.miff",
                     "-gravity northwest -geometry +#{mouth.x}+#{mouth.y}",
                     "#{@dir}/opened_mouths.miff")
    end
# Put the opened mouth over the original image.
Put the opened mouth over the original image.
Put the opened mouth over the original image .
def merge_opened_mouth_on_canvas(mouth)
      Commander.run!("composite",
                     "#{@dir}/opened_mouth.miff #{@dir}/opened_mouths.miff",
                     "-gravity northwest -geometry +#{mouth.x}+#{mouth.y}",
                     "#{@dir}/opened_mouths.miff")
    end
def merge_opened_mouth_on_canvas ( mouth ) Commander . run! ( "composite" , "#{@dir}/opened_mouth.miff #{@dir}/opened_mouths.miff" , "-gravity northwest -geometry +#{mouth.x}+#{mouth.y}" , "#{@dir}/opened_mouths.miff" ) end
Put the opened mouth over the original image.
Put the opened mouth over the original image .
mouth