fresco icon indicating copy to clipboard operation
fresco copied to clipboard

Image Color is modified

Open thizisarun opened this issue 11 years ago • 3 comments

If i am loading image to simpledraweeview then the image color is modified like some mask is apply for top of the image.

thizisarun avatar Oct 27 '15 10:10 thizisarun

Can you provide the layout resource and a snippet of code you're using please? Also a link to the image you're loading could be very useful. Thanks

massimocarli avatar Oct 27 '15 11:10 massimocarli

Here is my layout resource <com.facebook.drawee.view.SimpleDraweeView android:id="@+id/fake_image" android:layout_width="match_parent" android:layout_height="match_parent" android:layout_centerHorizontal="true" android:layout_centerVertical="true" android:layout_gravity="center|center_horizontal|center_vertical" android:adjustViewBounds="true" android:contentDescription="@string/app_name" android:scaleType="centerInside" />

thizisarun avatar Oct 27 '15 13:10 thizisarun

You should use fresco:actualImageScaleType if this is a SimpleDraweeView.

What is the image itself? Can you upload a screenshot of how it is rendered?

tyronen avatar Nov 03 '15 17:11 tyronen