JessYanCoding / InsGallery

📸 Instagram-like image picker for Android (一款 UI 炫酷高仿 Instagram 的图片、视频选择器)
Apache License 2.0
664 stars 126 forks source link

Image Crop & Filter is not working. It returns the original image #50

Closed HaXxanParhar closed 3 years ago

HaXxanParhar commented 3 years ago

The cropping within the gallery is working. When I select an image and crop it ( with 1:1 which is the default) and tap the next button. It shows correctly the cropped image in the filters screen. But the image that is returned is not cropped and no filter is applied to it.

Here's how I'm using the library: call

Here's how I'm getting the results. getting

Am I missing some configuration settings for the crop and filters to work?

HaXxanParhar commented 3 years ago

I figured it out. I was not correctly getting the image. Instead of getting the edited image from getCutPath, I was dong getPath which returned the original image.