Commit Graph

52 Commits

Author SHA1 Message Date
Andrew Murray
674515d568 Changed lines to be below 80 characters 2015-12-02 16:41:26 +11:00
wiredfool
46b9bbde87 Merge pull request #1523 from radarhere/pilprint
Added subprocess.Popen to pilprint script
2015-11-18 09:34:11 +00:00
Andrew Murray
7d8d9e3b9e Replaced os.popen with subprocess.Popen 2015-11-04 20:03:19 +11:00
Hugo van Kemenade
7f95b44350 Shebang it
Fixes #1521
2015-11-03 23:16:12 +02:00
Hugo van Kemenade
495dca4149 Merge pull request #1482 from radarhere/painter
Added Usage message to painter script
2015-10-10 11:04:31 +03:00
Andrew Murray
5909a5f9bc Fixed typo [ci skip] 2015-10-10 14:28:53 +11:00
Andrew Murray
7e5df09fa9 Added Usage message to painter script 2015-10-10 14:25:08 +11:00
Andrew Murray
626fd6b1a0 Updated repository URL 2015-09-26 19:45:39 +10:00
Andrew Murray
c6b13d294f Flake8 fixes 2015-08-25 22:27:18 +10:00
Alex Clark
67d1541c6f Merge pull request #1207 from anntzer/logger
Use logging instead of print.
2015-07-02 05:22:07 -04:00
Andrew Murray
2c4fe7281f Merged gifmaker into GifImagePlugin 2015-06-30 18:02:48 +10:00
Antony Lee
4e754e9c55 Use logging instead of print.
cf. #1191.

Only TiffImagePlugin and OLEFileIO still rely on (their own) DEBUG flag.
I left TiffImagePlugin as it is because I hope #1059 gets merged in
first, and OLEFileIO because it uses its own logic.

Untested, as usual.
2015-06-29 12:39:50 -07:00
Andrew Murray
8dc8a1235e Added Python 3 support to gifmaker script 2015-06-20 23:52:39 +10:00
Andrew Murray
6d7eb53b52 Changed gifmaker script to use ImageSequence Iterator 2015-06-20 23:52:02 +10:00
Hugo
b816c048ad Merge pull request #1172 from radarhere/gif
Added duration and loop set to GifImagePlugin
2015-06-04 13:07:58 +03:00
Hugo
394b245a39 Merge pull request #1240 from radarhere/future
Correct future print imports
2015-05-27 14:37:38 +03:00
Andrew Murray
3c7e37d2d7 Replaced old-style classes 2015-05-27 00:07:21 +10:00
Andrew Murray
4e2de9d9ed Added missing future print imports and removed unnecessary imports 2015-05-23 20:28:41 +10:00
Andrew Murray
cb4172675a Removed description for missing scripts [CI skip] 2015-05-20 13:28:48 +10:00
Andrew Murray
61bc6e5be2 Removed unused import from pildriver script 2015-05-08 21:36:42 +10:00
Andrew Murray
ee34d6843b Further health fixes 2015-04-24 18:24:52 +10:00
Andrew Murray
b33642c361 Fixed unintentional method overriding 2015-04-24 16:02:39 +10:00
Andrew Murray
7f414057c9 Fixed redefinition of built-in 2015-04-24 16:02:39 +10:00
Andrew Murray
e22e4239e5 Removed unused imports 2015-04-24 16:01:47 +10:00
Andrew Murray
86be744d1f Various Flake8 Scripts fixes 2015-04-24 09:41:33 +10:00
Andrew Murray
e36e7dd7a2 Added duration set to GifImagePlugin 2015-04-04 10:33:35 +11:00
Andrew Murray
120982574a Moved __future__ import to the top of pilprint script 2015-04-01 11:21:15 +11:00
Andrew Murray
d3cab99d31 Removed unused import in pilconvert script 2015-04-01 10:33:44 +11:00
Andrew Murray
0ca14909ed Fixed duplicate import in pilprint 2015-04-01 09:36:25 +11:00
Fahrzin Hemmati
ddf17df928 Make gifmaker work with the current getheader
GifImagePlugin.getheader was updated about 2 years ago and changed the API that gifmaker expects.
2015-03-14 02:41:14 -07:00
hugovk
add45b494a Extract __main__ section of PIL/ImageFont.py into Scripts/createfontdatachunk.py 2014-07-07 22:31:20 +03:00
hugovk
443cc908ae Show pyflakes quality violations (which can be programming errors) before pep8 (which is just style). 2014-07-01 16:25:24 +03:00
hugovk
e220e597bf Separate install and report scripts for diff-cover 2014-07-01 02:16:34 +03:00
hugovk
d002e5f690 Move diff-cover commands to diffcover.sh 2014-07-01 00:22:44 +03:00
hugovk
c261674980 Remove obsolete Animated Raster Graphics support 2014-06-27 15:58:12 +03:00
hugovk
1633ffa878 Merge branch 'cleanup' of https://github.com/wiredfool/Pillow into wiredfool-cleanup
Conflicts:
	Tests/test_file_jpeg2k.py
	Tests/test_image_transform.py
	Tests/test_imagesequence.py
2014-06-23 13:39:27 +03:00
Alex Clark
4470b07c3f Rename and rst-i-fy 2014-06-22 20:10:55 -04:00
wiredfool
54173d2c67 Cherry-pick of portions of patch a500ca1393, many shortcut ops added, no functional changes 2014-05-09 21:36:15 -07:00
Alex Clark
e43e06b80e More WS cleanup courtesy of @Arfrever 2013-06-30 18:46:03 -04:00
Michał Górny
1a977c859a Add proper shebangs to all Python scripts. 2013-04-21 08:38:36 +02:00
Fabio M. Costa
f0f405ac92 makes sure this script is executed with systems python
Also removed some unused imports
2013-04-10 18:39:44 -04:00
Christoph Gohlke
03b8960db2 Fix pildriver script 2013-02-13 19:43:17 -08:00
Brian Crowell
31c454b925 py3k: 2to3's "idiom" filter
This is, I guess, a few things the Python devs were just fed up with.

* "while 1" is now "while True"
* Types are compared with isinstance instead of ==
* Sort a list in one go with sorted()

My own twist is to also replace type('') with str, type(()) with tuple,
type([]) with list, type(1) with int, and type(5000.0) with float.
2013-01-10 08:46:53 -06:00
Brian Crowell
48cf699fe6 py3k: Change apply() to unpacking syntax
apply() is no longer available in py3k.
2013-01-10 08:46:52 -06:00
Brian Crowell
dda0e9a3ed py3k: Tkinter module is now tkinter 2013-01-10 08:46:51 -06:00
Brian Crowell
f6fa0941fd py3k: Convert backticks to repr()
Backticks are no longer valid syntax for repr().
2013-01-10 08:46:49 -06:00
Brian Crowell
a453007651 py3k: sys.maxint renamed to sys.maxsize 2013-01-10 08:46:48 -06:00
Brian Crowell
5076c35cc5 py3k: print is a function
Seriously, if you didn't know that, you've been in a freaking cave, man.
2013-01-10 08:46:46 -06:00
Brian Crowell
09f1081c95 py3k: Fix up uses of dictionary views, ranges, and has_key()
y.has_key(x) is gone (use x in y), and keys(), values(), items(), and
range() all return views.

Some iterables needed to be packed into lists, either because the code
expected a list (such as "range(256) * 3") or because the original
collection was being modified (automatic global declarations).

The Tiff ImageFileDictionary is a special case and will be dealt with in
another commit.
2013-01-10 08:46:42 -06:00
Brian Crowell
78575798d7 py3k: Update exception usage to modern syntax 2013-01-10 08:46:33 -06:00