Is there a way to plug image property in a data base?

If a user uses a picture uploader, I want it to put the values of the picture in a database.

Ex: User uploads a square picture; Proportions = 1:1
User uploads a picture with 50 DPI; the button is not clickable

Is there a plugin that can do that, or do I need to get one made?