title: Can I remove watermark from image programmatically using Ruby?
body: <p>I need to clean my images of watermark.  I know that I can do it using Photoshop or other soft with the same functionality, but I'm interested in automating this feature.</p>
  
  <p>I know that watermark is just logo on added to image layer. I know that ruby language have many gems, which works with images. For example, rmagik, paperclip and other. </p>
  
  <p>I try to Google information about how delete watermark from image using Ruby, and don't found any positive answers. I read rmagik and paperclip gems wiki and as I understand, I can't delete watermark from image using it. </p>
  
  <p>I know, that using carrierwave gem I can put watermark on image:</p>
  
  <pre>
  <code>
      img.write('composite.gif')
  </code>
  </pre>
  
  <p>For example, I cat put image with watermark to Google image search, parse results of search and get this image without watermark. It will be very bad hardcore-style way answer, 
  but it will be answer! and this answer will give me some results.</p>
  
  <p>Maybe I there is some methods for deleting watermark? Does other gem exists with this functionality? Maybe I don't understand something right in rmagik and paperclip gems wikis? Maybe someone have the same problem? So, that's why I am asking for help.</p>
  
  <p>P.S.1: My question demonstrate understanding of the problem being solved. I don't ask for recommend or find a tool, library or favorite off-site resource. I ask: how can I resolve my problem programmatically and using ruby  ( see title of question if you don't understand ). But sometimes using some tool or library can resolve some problem!</p>
  
  <p>P.S.2: And if I need to repeat: I don't violate any ownership rights. It's just scientific question.</p>