Blurry pixels in image preview

Viewed 45

I'm trying to make a pixel art app using the image package but I have hit a roadblock. Individual pixels look blurry but when I export the image they look fine. Is this an image scaling issue?

I'm displaying the image with Image.memory(encodePng(image) as Uint8List)

Here is what the image preview looks like: Blurry pixels in image preview

1 Answers

Update: I resorted to drawing the image to a canvas using CustomPaint. I still don't know what caused the blurriness, but that solved my issue.

Related