BlurredTransformation slow
See original GitHub issueDescription
I’ve a listview with that contains a list of grids with an ffimageloading:CachedImage in the background and a circle ffimageloading:CachedImage in front. All good this far. The thing I want is that the background image is a blurred version of the foreground image. So I added a BlurredTransformation on it. After that the loading of images gets really sluggish. Are transformations added on the fly or are they also cached?
Steps to Reproduce
Add this to the “background image” and notice all images loading slow in the placeholder. Even if they are already cached.
<ffimageloading:CachedImage.Transformations>
<fftransformations:BlurredTransformation Radius="1" />
</ffimageloading:CachedImage.Transformations>
Switching this to 0, speed things up like expected.
Expected Behavior
Almost just as fast as normal loading of the images. The background images with a blur transformation I expect to load slower. The already cached foreground images with no blur effect I expect to load same fast as before unless a thread gets blocked by the blur transformations.
Actual Behavior
The circle foreground image ‘lags’. It now waits till the background images loads as well. Even after setting loading prio High for foreground and Low for background.
Basic Information
- Version with issue: 2.4.9.961
- Last known good version: -
- Platform: MacOS (iOS simulator)
Logs
Issue Analytics
- State:
- Created 4 years ago
- Comments:5 (2 by maintainers)
Top GitHub Comments
@daniel-luberda no, but I should have! I scaled them down server-side.
@jtorvald Could you give more info? Did you set
DownsampleWidth
/DownsampleHeight
? It should downscale those images before transformation.