Skip to content

Commit

Permalink
add wangxuan1979.pdf
Browse files Browse the repository at this point in the history
  • Loading branch information
chenshuo committed Jul 13, 2024
1 parent 9b83607 commit cb2d1a4
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions tools/diffpng.py
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
#!/usr/bin/python
#!/usr/bin/python3

# $ sudo apt-get install python-pil python-imaging

import Image
import ImageChops
from PIL import Image
from PIL import ImageChops
import sys

if len(sys.argv) == 4:
Expand All @@ -13,4 +13,4 @@
new = Image.composite(red, orig.convert('RGB'), diff)
new.save(sys.argv[3])
else:
print "Usage: %s old.png new.png diff.png" % sys.argv[0]
print("Usage: %s old.png new.png diff.png" % sys.argv[0])
Binary file added wangxuan1979.pdf
Binary file not shown.

0 comments on commit cb2d1a4

Please sign in to comment.