Skip to main content

A Python Library for Image Processing

Project description


This is a Python image process library


  • open and save an Image
  • show an Image
  • reshape an Image
  • convert RGB to Gray
  • convert RGB to Binary


Import package

from pypixel import Image

Open an Image

img ="filepath")

Save an Image

img ="filepath")
# Do something to img

Show an Image

img ="filepath")

Reshape an Image

img ="filepath")

Convert to gray

img ="url")
img = img.gray()    # default : Float Algorithm
img = img.gray("F") # Float Algorithm : r*0.3+g*0.59+b*0.11
img = img.gray("G") # Green Only

Convert to binary

img ="url")
img = img.binary()

Project details

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Files for pypixel, version 1.0.1
Filename, size File type Python version Upload date Hashes
Filename, size pypixel-1.0.1.tar.gz (2.1 kB) File type Source Python version None Upload date Hashes View

Supported by

Pingdom Pingdom Monitoring Google Google Object Storage and Download Analytics Sentry Sentry Error logging AWS AWS Cloud computing DataDog DataDog Monitoring Fastly Fastly CDN DigiCert DigiCert EV certificate StatusPage StatusPage Status page