Metadata-Version: 2.1
Name: pypixel
Version: 1.0.0
Summary: A Image Processing Library
Home-page: https://github.com/JiaCheng-Huang/pypixel
Author: Jiacheng Huang
Author-email: Dylan.JiaCheng.Huang@outlook.com
License: MIT
Description: # pypixel
        
        This is a Python image process library
        
        # Feature
        
        - open and save an Image 
        - show an Image
        - convert RGB to Gray
        - convert RGB to Binary
        
        # Usage
        
        ## Import package
        
        ```py
        from pypixel import Image
        ```
        
        ## Open an Image
        
        ```py
        img = Image.open("filepath")
        ```
        
        ## Save an Image
        
        ```py
        img = Image.open("filepath")
        ...
        # Do something to img
        ...
        img.save("filepath")
        ```
        
        ## Show an Image
        
        ```py
        img = Image.open("filepath")
        img.show()
        ```
        
        ## Convert to gray
        
        ```py
        img = Image.open("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
        ```py
        img = Image.open("url")
        img = img.binary()
        ```
        
Platform: UNKNOWN
Classifier: Topic :: Software Development :: Libraries :: Python Modules
Classifier: Programming Language :: Python
Classifier: Programming Language :: Python :: 3
Description-Content-Type: text/markdown
