Anthonyzou / react-native-image-zoom

Image pan and zoom for Android

Home Page:https://www.npmjs.com/package/react-native-image-zoom

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Images getting distorted inside the component

shidhincr opened this issue · comments

Hi,

I see a problem with the images. When I use the Image component from react-native-image-zoom, it looks distorted ( seems like some pixels are lost ).

See this screenshot:

When I use Image from react-native-image-zoom -->

screen shot 2016-05-10 at 4 58 48 pm

screen shot 2016-05-10 at 4 59 00 pm

I don't have this problem when I use the Image component from react-native

When I use Image from react-native -->

screen shot 2016-05-10 at 5 04 26 pm

Do you have any leads to fix this issue ?

I just figured it out that the Glide is actually causing this issue. I had to set-up a GlideBuilder configuration inside my app to change the decode format to PREFER_ARGB_8888.

That fixed the issue!