How can I obtain an image's PPI in JavaScript if it's unavailable in EXIF Data?

I have a tool in frappe-framework that permits image uploads by checking, the width[=1050px], height[=1500px] and filesize [between 300KB to 3000KB] of an image. Along with the existing requirements I need to add an additional check to permit image upload if PPI = 300. I am able to get the PPI using the EXIF metadata in javascript.

Is there an alternative approach or library I can use to get an image's PPI when it's not present in the EXIF data?



Comments

Popular posts from this blog

I get wrong characters when retreiving the message body of an email using TIdIMAP4.UIDRetrieveTextPeek2()

How to drop the all the 1's in a correlation matrix

Today Walkin 14th-Sept