The front-end local client compresses pictures, is compatible with IOS, Android, PC, and automatically loads files on demand. Compressing the pictures to be uploaded on the client side can save bandwidth and send them to the backend faster, especially suitable for use on mobile devices. 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)

Features

  • Backend processing
  • API
  • IE10 or above and most non-IE browsers (chrome, WeChat, etc.)
  • Compatible with IOS, Android, PC
  • Automatically loads files on demand
  • Written in native JS

Project Samples

Project Activity

See All Activity >

Categories

Front-Ends

License

MIT License

Follow localResizeIMG

localResizeIMG Web Site

Other Useful Business Software
MongoDB Atlas runs apps anywhere Icon
MongoDB Atlas runs apps anywhere

Deploy in 115+ regions with the modern database for every enterprise.

MongoDB Atlas gives you the freedom to build and run modern applications anywhere—across AWS, Azure, and Google Cloud. With global availability in over 115 regions, Atlas lets you deploy close to your users, meet compliance needs, and scale with confidence across any geography.
Start Free
Rate This Project
Login To Rate This Project

User Reviews

Be the first to post a review of localResizeIMG!

Additional Project Details

Programming Language

JavaScript

Related Categories

JavaScript Front-Ends

Registered

2022-12-05