mirror of
https://github.com/immich-app/immich.git
synced 2026-03-27 12:20:52 +03:00
memory optimization
This commit is contained in:
@@ -24,7 +24,7 @@ class LocalImageRequest extends ImageRequest {
|
||||
isVideo: assetType == AssetType.video,
|
||||
);
|
||||
|
||||
final frame = await _fromPlatformImage(info);
|
||||
final frame = await _fromPlatformImage(info, ui.PixelFormat.rgba8888, true);
|
||||
return frame == null ? null : ImageInfo(image: frame.image, scale: scale);
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user