Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- img2 = Image.open(r"H:\CSC1034 Programming Portfolio 1\csc1034-team-project\practical-3\resources\img\spec2-images\image02.jpg")
- img3 = Image.open(r"H:\CSC1034 Programming Portfolio 1\csc1034-team-project\practical-3\resources\img\spec2-images\image03.jpg")
- img4 = Image.open(r"H:\CSC1034 Programming Portfolio 1\csc1034-team-project\practical-3\resources\img\spec2-images\image04.jpg")
- img5 = Image.open(r"H:\CSC1034 Programming Portfolio 1\csc1034-team-project\practical-3\resources\img\spec2-images\image05.jpg")
- def jpeg():
- for i in sys.argv[1:]:
- newimg = img.filter(ImageFilter.CONTOUR)
- newimg3 = img3.filter(ImageFilter.EMBOSS)
- newimg4 = img4.filter(ImageFilter.FIND_EDGES)
- newimg5 = img5.filter(ImageFilter.SHARPEN)
- #img.show()
- #img2.show()
- #newimg.show()
- #newimg3.show()
- newimg4.show()
- #newimg4.show()
- newimg5.show()
- img5.show()
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement