mirror of
https://github.com/immich-app/immich.git
synced 2026-05-18 03:10:24 +03:00
optimized decoding
This commit is contained in:
@@ -11,7 +11,7 @@ class ThumbhashImageRequest extends ImageRequest {
|
||||
return null;
|
||||
}
|
||||
|
||||
final Map<String, int> info = await thumbnailApi.getThumbhash(thumbhash);
|
||||
final Map<String, int> info = await localImageApi.getThumbhash(thumbhash);
|
||||
final frame = await _fromPlatformImage(info);
|
||||
return frame == null ? null : ImageInfo(image: frame.image, scale: scale);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user