Answer the question
In order to leave comments, you need to log in
How to increase the size of pixel art without blurring the edges?
I don’t know exactly what it is called, but this editor https://www.pixilart.com/draw has a similar functionality when exporting a drawing. If used from the pillow resize() library, then the edges of the stroke in pixel art are smeared.
Answer the question
In order to leave comments, you need to log in
from PIL import Image
im = Image.open("source.png").convert('RGBA')
im = im.resize((100, 100), resample=Image.NEAREST)
im.save("result.png")
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question