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
#! /usr/bin/python | |
import Image | |
#_______________________________________________________load image/create 'canvas' | |
source = Image.open("test26.jpg") | |
img = source.load() | |
print source.format |
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
#! /usr/bin/python | |
import Image | |
#Created by vvdr12 | |
#No rights reserved :) | |
#Have fun and do what you will with it. | |
#_______________________________________________________source | |
source = Image.open("test.jpg") | |
img = source.load() |
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
#! /usr/bin/python | |
import Image | |
#_______________________________________________________open | |
source = Image.open("test.jpg") | |
img = source.load() | |
print source.format | |
print source.size |
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
#! /usr/bin/python | |
import Image | |
#Created by vvdr12 | |
#Fully open license. Have fun. | |
#change threshold value in 'def contrastpoints' for higher/lower line density. | |
#put a 'test.jpg' file in the same folder as the code. | |
#_functions______________________________________________ |