AUTOMATIC1111/stable-diffusion-webui-pixelization

Make preview image more pixelated

nonetrix opened this issue · 0 comments

As it is the preview image doesn't use nearest neighbor scaling so it looks blurry like this
image
When in fact the result is much better when viewed with nearest neighbor
image

This can be easily done with some simple CSS

img {
  image-rendering: pixelated;
  image-rendering: -moz-crisp-edges;
  image-rendering: crisp-edges;
}

reference: https://css-tricks.com/keep-pixelated-images-pixelated-as-they-scale/