I want to check the download of image files on the client side. T here will also be a server side check that is already working with the image mask.
I want to reproduce this on the client side before downloading (since the files will be quite large and the preconditions for image files are very limited, this can save the user a lot of pain if checking is done in the browser before the download process)
Allowed Files:
I need to detect:
The main problem is detecting color space and processing formats other than JPG. Is there something like ImageMagick to "identify" for javascript or do you have other ideas ...?!
javascript validation
hannenz
source share