title: How can I draw mirrored text onto an image using ImageMagick?
body: <p>I'm using ImageMagick (through the MiniMagick Ruby Gem) to crop an image, I also add an annotation to the top of it, but I want it to be mirrored.</p>
  
  <p>I know ImageMagick has a 'flop' command which mirrors an image, but I'm not sure how to generate the text, flop it and compose it onto my image.</p>
  
  <p>Here is how I currently draw the text (non mirrored). This code uses MiniMagick, but it translates pretty directly to actual ImageMagick commands.</p>
  
  <pre><code>image.combine_options do |c|
    c.resize "1000"
    c.font Rails.root.join('app/assets/fonts/Menlo.ttc').to_s
    c.fill '#888888'
    c.pointsize '16'
    c.draw "text 0,0 '#{annotation}'"
  end
  </code></pre>
  
  <p>How can I modify or replace this to draw mirrored text?</p>