As part of the roadmap in the README. Can use this library to do most of the heavy lifting: https://www.npmjs.com/package/browser-image-compression