I'm making an app where the user can upload potentially really large geotiffs. I would like to put client side restrictions on the width and height of the image. I know that it's possible to get the width and height from jpg/png using the Image() object in javascript. But that does not work with geotiffs.
Is there anyway to retrieve the width and height from a geotiff before file upload?