localResizeIMG
The front-end local client compresses pictures, compatible with IOS
...I have stepped on many pitfalls, after several version iterations, as well as the feedback and help of many netizens, and model testing. The picture is distorted, some devices do not automatically rotate the direction of the picture, and there is no jpeg compression algorithm. New Blob is not supported, and the size of the file constructed by formData is 0. There are also inexplicable bugs in some models and browsers (such as QQX5 browser). On-demand loading (JS files will be automatically loaded asynchronously according to the corresponding device, saving unnecessary bandwidth)