facebook/fresco

Images flash upon loading

Open

#1,963 opened on Nov 6, 2017

View on GitHub
 (1 comment) (2 reactions) (0 assignees)Java (17,072 stars) (3,750 forks)batch import
enhancementhelp wanted

Description

Description

Upon loading an image (gif/jpg/webp/png) the image flashes the background color then loads the image. I expect that the image would just load and only have a placeholder when the image takes a while to load. This problem is irrelevant to the size of the image (img size 10kb). Even if the image loads immediately the background color flashes.

Reproduction

Essentially just load an image and replace it with another image on the same scene. I have a git project with the issue where it flashes red: https://github.com/dnam50/gifTry.git

ezgif com-video-to-gif

Additional Information

  • Fresco version: [1.5.0]
  • Platform version: [nexus 6 api 25] but has been tried on numerous android devices.

Contributor guide