Is there a way to take an image uploaded by the user and get their dpi value in client side (without any server call)?