title: How to convert an image to Avro format in Hadoop?
body: <p>I want to convert *.jpg files to the avro format and vice versa.
  The exact requirement is:</p>
  
  <ol>
  <li>convert all the *.jpg images to avro format.</li>
  <li>process the images and remove the duplicates by help of avro MR jobs.</li>
  </ol>
  
  <p>How can I do it?</p>