[PR #3051] fix(mobile): Uses ImageFiltered for performance #9831

Closed
opened 2026-02-05 14:11:29 +03:00 by OVERLORD · 0 comments
Owner

Original Pull Request: https://github.com/immich-app/immich/pull/3051

State: closed
Merged: Yes


image

Changes BackdropFilter out for ImageFiltered.

From the documentation for BackdropFilter:

This effect is relatively expensive, especially if the filter is non-local,
such as a blur.

If all you want to do is apply an [ImageFilter] to a single widget
(as opposed to applying the filter to everything beneath a widget), use
[ImageFiltered] instead. For that scenario, [ImageFiltered] is both
easier to use and less expensive than [BackdropFilter].

It looks a little different, though. You can play around with the child container opacity to change the look, but I found something I thought looked appropriate.

It's much more performant and doesn't have the strange flicker I was seeing while paging through my memories on my Android phone with the the BackdropFilter.

**Original Pull Request:** https://github.com/immich-app/immich/pull/3051 **State:** closed **Merged:** Yes --- ![image](https://github.com/immich-app/immich/assets/100457/fc751646-72b8-4c7e-acc4-2e2acea1c33c) Changes `BackdropFilter` out for `ImageFiltered`. From the documentation for `BackdropFilter`: > This effect is relatively expensive, especially if the filter is non-local, > such as a blur. > > If all you want to do is apply an [ImageFilter] to a single widget > (as opposed to applying the filter to everything _beneath_ a widget), use > [ImageFiltered] instead. For that scenario, [ImageFiltered] is both > easier to use and less expensive than [BackdropFilter]. It looks a little different, though. You can play around with the child container opacity to change the look, but I found something I thought looked appropriate. It's much more performant and doesn't have the strange flicker I was seeing while paging through my memories on my Android phone with the the `BackdropFilter`.
OVERLORD added the pull-request label 2026-02-05 14:11:29 +03:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: immich-app/immich#9831