Created
August 9, 2012 12:02
-
-
Save GrahamDumpleton/3303627 to your computer and use it in GitHub Desktop.
Application of of resin adjust.
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
w,h = new_img.size | |
for x in range(0, w): | |
adjuster = ResinAdjust() | |
for y in range(0, h): | |
p = new_img.getpixel((x, y)) | |
new_p = adjuster(p) | |
new_img.putpixel((x, y), new_p) | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment