How to build the aspect ratio chooser from Instagram into Expo?

Hey all,

I’d like to emulate the bottom-left button in the Instagram photo picker that allows to either have the image be “contained” (the full image, irregardless of format) or “fill” (have the image zoomed in so it fills the whole area).

Demo: https://photos.app.goo.gl/uY6LcsTuXr481qRK9

Is there any way to do something similar while using ImagePicker, or will I have to build a new ImagePicker UI from scratch using the ImageManipulator API? Or perhaps a third option exists, maybe someone has open sourced a solution?

This topic was automatically closed 15 days after the last reply. New replies are no longer allowed.