fix: Over-sharpened images from filter quality (#208)

Co-authored-by: PartyDonut <PartyDonut@users.noreply.github.com>
This commit is contained in:
PartyDonut 2025-01-31 15:58:45 +01:00 committed by GitHub
parent eb67ea6679
commit b470c26875
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
4 changed files with 1 additions and 5 deletions

View file

@ -182,7 +182,6 @@ class _PhotoViewerScreenState extends ConsumerState<PhotoViewerScreen> with Widg
child: SizedBox.expand(
child: Image(
fit: BoxFit.cover,
filterQuality: FilterQuality.high,
image: BlurHashImage(imageHash),
),
),

View file

@ -130,7 +130,6 @@ class _DetailScaffoldState extends ConsumerState<DetailScaffold> {
alignment: Alignment.topCenter,
placeholderFit: BoxFit.cover,
excludeFromSemantics: true,
filterQuality: FilterQuality.high,
placeholderFilterQuality: FilterQuality.low,
image: backgroundImage!.imageProvider,
),

View file

@ -55,9 +55,7 @@ class FladderImage extends ConsumerWidget {
placeholderFit: fit,
excludeFromSemantics: true,
alignment: alignment ?? Alignment.center,
filterQuality: FilterQuality.high,
imageErrorBuilder: imageErrorBuilder,
placeholderFilterQuality: FilterQuality.low,
image: newImage.imageProvider,
)
],

View file

@ -112,7 +112,7 @@ class _TrickPlayPainter extends CustomPainter {
model.height.toDouble(),
);
Paint paint = Paint()..filterQuality = FilterQuality.high;
Paint paint = Paint();
Rect dstRect = Rect.fromLTWH(0, 0, size.width, size.height);
canvas.drawImageRect(image, srcRect, dstRect, paint);
}