question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Artifacts in the image after rounding

See original GitHub issue

Description

I get line (artifact) on foreground when I use app:roundWithOverlayColor.

Bug image

Bug image2

Reproduction

app:roundAsCircle="true"
app:roundWithOverlayColor="@color/color_white"

SimpleDraweeView is under ImageView in RelativeLayout (declared first), but line happens on top of ImageView. I use SimpleDraweeView in many cases of my project, I saw this bugs in other screens before rarely, but I didn’t impose view on drawee.

I can’t use other rounding method, because I have many lists with SimpleDraweeView including drawer fragment in project and on many devices I get OOM and not only in this project.

Solution

After tap to screen all lines will hide, but why they are first?

Additional Information

  • Fresco version: 1.9.0
  • Platform version: Android 8, Samsung S8+ and other newest Samsung devices I tested, don’t happent on Nexus 4.

Issue Analytics

  • State:closed
  • Created 5 years ago
  • Comments:11 (1 by maintainers)

github_iconTop GitHub Comments

1reaction
AlexCJWcommented, Jun 21, 2018

So, I guess there is something wrong in Samsung hardware rendering layer. You may try to set the android:translationZ or android:elevation attributes of your heart icon. This may help.

0reactions
jaksabcommented, Sep 1, 2018

In new Fresco version 1.10.0 this bug was disappeared, Thank you! @AlexCJW @oprisnik
I wonder what the problem was?

Read more comments on GitHub >

github_iconTop Results From Across the Web

Photo Forensics From Rounding Artifacts - Hany Farid
We show how a detailed model of a JPEG encoder can capture most of these variations; and (3) We propose an algorithm to...
Read more >
Photo Forensics From Rounding Artifacts - ACM Digital Library
Adding to this literature, we describe a JPEG artifact that can arise depending upon seemingly innocuous implementation details in a JPEG ...
Read more >
Photo Forensics From Rounding Artifacts - Semantic Scholar
This paper focuses on image specific artifacts and proposes an automatic method capable of detecting them and is presented as a viable ...
Read more >
Splitting an image in NxM using `trim` causes artifacts due to ...
Splitting an image in NxM using `trim` causes artifacts due to rounding error · 1. I'm not understanding why you're talking about 1...
Read more >
Ringing artifacts - Wikipedia
3 levels on each side of transition: overshoot, first ring, and (faint) second ring. Same image without ringing artifacts.
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found