Skip to content

Commit

Permalink
Imaging Library completed
Browse files Browse the repository at this point in the history
  • Loading branch information
subhayuroy committed Sep 16, 2020
1 parent db45d06 commit 9b820f9
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 0 deletions.
Binary file added Imaging Library/Capture.jpg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
8 changes: 8 additions & 0 deletions Imaging Library/image.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
from PIL import Image

im = Image.open('Capture.jpg', 'r')

pix_val = list(im.getdata())
pix_val_flat = [x for sets in pix_val for x in sets]

print(pix_val_flat)
Binary file added Imaging Library/python_imaging_library.jpg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.

0 comments on commit 9b820f9

Please sign in to comment.