Pixelated Images Using Pythonby@h3avren
3,941 reads

Pixelated Images Using Python

tldt arrow
Read on Terminal Reader
Read this story w/o Javascript

Too Long; Didn't Read

Use PIL the following way to create a pixelated Image: from PIL import Image image = Image.open(image_name) image_small = image.resize((width,height)) pixelated = image_small.resize(image.size,Image.NEAREST) pixelated.save(save_as)

Companies Mentioned

Mention Thumbnail
Mention Thumbnail
featured image - Pixelated Images Using Python
Ajay Singh Rana HackerNoon profile picture

@h3avren

Ajay Singh Rana


Receive Stories from @h3avren

react to story with heart

RELATED STORIES

L O A D I N G
. . . comments & more!
Hackernoon hq - po box 2206, edwards, colorado 81632, usa