title: Howto validate image upload in PlayFramework 1?
body: <p>I have to upload pictures with a few conditions : </p>
  
  <ul>
  <li>dimensions cannot exceed x pixels height, y pixels width, </li>
  <li>size cannot exceed <em>b</em> bytes on disk</li>
  <li>has to be a <strong>PNG</strong> or a <strong>JPG</strong> file</li>
  <li>has to be "resized"</li>
  <li>has to be saved to disk (using play's Blob)</li>
  </ul>
  
  <p>Si far, I've found little to no information on image upload and/or check for Play!Framework. 
  Any help is welcome! </p>
  
  <p>Thanks!</p>