lundi 29 mai 2017

Testing the quality, format and sizing of an image

For a website I am building, I need a solution to test that a given Image (upload by an user) meet certain specification :

  • It can be a Scanned image, Smart phone pictur, Digital upload or Web Camera picture
  • at least 8MP
  • Scanned images should be over 300 dpi in resolution and the size of scan reduced to the size of the document. Passport 130mm x 90mm, Driving Licence 90mm x 55mm and Euro ID 130mm x 90mm.
  • Not blurred
  • Colour Image
  • PDF, JPG or PNG file type
  • Clear edges
  • 90 degree angle (bird’s eye view)
  • Size of the document between 102 k and 3 M

Do you know how I can test all this specification ? Java will be the preferred language, but I am open to others languages.




Aucun commentaire:

Enregistrer un commentaire