Created
December 2, 2015 22:25
-
-
Save prideout/2bb99c88afdb360effb9 to your computer and use it in GitHub Desktop.
Python script that extracts red from 3 BPP image and saves as 1 BPP image.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| from PIL import Image | |
| im = Image.open("color.png") | |
| im.split()[0].save("gray.png") |
Author
prideout
commented
Dec 10, 2015
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment