I'm building an app with react native and expo (managed). I'm trying to compress images to a specific file size but can only find libraries that allow me to set a "quality" setting (which compresses images to some arbitrary size).
Are there any libraries like browser-image-compression that allow me to set a "target" image size, for use with react native and expo?
(Or is there some other way I might accomplish this?)